X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fstdlib%2Fsystem.c;fp=functions%2Fstdlib%2Fsystem.c;h=91e0ffae510dc7a24fad3842256c34e799e5d0cd;hb=dcc8a8e99f69e090a03b7b868443addbc0817820;hp=0000000000000000000000000000000000000000;hpb=e794d9887cd8f94befd7861e39eccf46666c89fe;p=pdclib.old 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 */ };