X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_config.h;h=2fa66c79507dd347522b1bead42c55210300d1fe;hb=d19e2e0c6595c2365e55a57a2e9a6cd0b13262c7;hp=d2188ff112f8657124884bf3b54dd700138fa2ca;hpb=d9cd7611ffc62f44afeddf2923ec21f0d32dc604;p=pdclib.old diff --git a/internals/_PDCLIB_config.h b/internals/_PDCLIB_config.h index d2188ff..2fa66c7 100644 --- a/internals/_PDCLIB_config.h +++ b/internals/_PDCLIB_config.h @@ -199,3 +199,12 @@ typedef char * _PDCLIB_va_list; #define _PDCLIB_va_copy( dest, src ) ( (dest) = (src), (void)0 ) #define _PDCLIB_va_end( ap ) ( (ap) = (void *)0, (void)0 ) #define _PDCLIB_va_start( ap, parmN ) ( (ap) = (char *) &parmN + ( _PDCLIB_va_round(parmN) ), (void)0 ) + +/* -------------------------------------------------------------------------- */ +/* OS "glue" */ +/* This is where PDCLib interfaces with the operating system. The examples */ +/* below are POSIX calls; provide your OS' equivalents. */ +/* -------------------------------------------------------------------------- */ + +/* A system call that terminates the calling process */ +#define _PDCLIB_Exit( x ) _exit( x )