X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fsystem.c;fp=functions%2Fstdlib%2Fsystem.c;h=91e0ffae510dc7a24fad3842256c34e799e5d0cd;hb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;hp=0000000000000000000000000000000000000000;hpb=34b76b9d65477be9c7d35cd254f44be85b3786b4;p=pdclib diff --git a/functions/stdlib/system.c b/functions/stdlib/system.c new file mode 100644 index 0000000..91e0ffa --- /dev/null +++ b/functions/stdlib/system.c @@ -0,0 +1,15 @@ +// ---------------------------------------------------------------------------- +// $Id$ +// ---------------------------------------------------------------------------- +// Public Domain C Library - http://pdclib.sourceforge.net +// This code is Public Domain. Use, modify, and redistribute at will. +// ---------------------------------------------------------------------------- + +void _Exit( int status ) { /* TODO */ }; +void exit( int status ) { /* TODO */ }; +void abort( void ) { /* TODO */ }; +char * getenv( const char * name ) { /* TODO */ }; +int system( const char * s ) { /* TODO */ }; + +// TODO: C/C++ linkages +int atexit( void (*func) ( void ) ) { /* TODO */ };