Category : Files from Magazines
Archive   : CUJ9210.ZIP
Filename : 1010033A

 
Output of file : 1010033A contained in archive : CUJ9210.ZIP
/* Listing 2 */
/*****************************************************
Name: DBG_STAK.C
Description: Library of functions to support
bidirection communications with
PC parallel port.
Global Function List: get_min_stackavail
check_min_stackavail
Portability: MS-DOS Microsoft C or Borland C
*****************************************************/

#include <>
#include <>
#include <>

static size_t _MinStackAvail = UINT_MAX;

/*****************************************************
Name: check_min_stackavail
Return: Minimum stack space up to the point this
function is called.
Description: Keeps track of the minimum stack space
available.
*****************************************************/
size_t check_min_stackavail( void )
{
_MinStackAvail = min( _MinStackAvail,
stackavail() );
return ( _MinStackAvail );
}

/*****************************************************
Name: get_min_stackavail
Return: Minimum stack space up to the point this
function is called.
Description: Retrieves the minimum stack space
available.
*****************************************************/
size_t get_min_stackavail( void )
{
return ( _MinStackAvail );
}

/* End of File */



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9210.ZIP
Filename : 1010033A

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/