home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
CDOS10
/
STDFCTS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-07
|
2KB
|
54 lines
#if !defined (STDFCTS) /* Prevents multiple declarations errors */
#define STDFCTS
/*----- Global TypeDefs ---------------------------------------------------*/
#include "stdtype.h"
/*----- Prototype ---------------------------------------------------------*/
void far assert /* Validates an assertion */
( bool condition, /* If FALSE, prg will be halted */
char huge *fctname, /* Name of currently executing function */
int errorcode, /* Internal error code */
char huge *errortext, /* User defined error text */
int exitcode, /* Dos ErrorLevel for exit */
void (far *exitfct)(void) /* Function called before exiting */
) ;
/*----- Prototype ---------------------------------------------------------*/
int far arg_exist /* Check for a command line argument */
( char huge *string ) ; /* Argument to search for */
/*----- Prototype ---------------------------------------------------------*/
int far arg_iexist /* Case insensitive check for a command line argument */
( char huge *string ) ; /* Argument to search for */
/*----- Prototype ---------------------------------------------------------*/
void huge * far heapalloc /* Allocates from far heap */
( dword nbytes ) ; /* Block <nbytes> long */
/*----- Prototype ---------------------------------------------------------*/
void far heapfree /* Frees a block from far heap */
( void huge *block ) ; /* Ptr to block to free */
/* ---- End Header File -------------------------------------------------- */
#endif