]> pd.if.org Git - pdclib.old/blob - platform/example/functions/stdlib/system.c
Rename files which had not yet been renamed in the POSIX platform
[pdclib.old] / platform / example / functions / stdlib / system.c
1 /* $Id$ */
2
3 /* system( const char * )
4
5    This file is part of the Public Domain C Library (PDCLib).
6    Permission is granted to use, modify, and / or redistribute at will.
7 */
8
9 #include <stdlib.h>
10
11 /* This is a stub implementation of getenv
12 */
13
14 int system( const char * string )
15 {
16     return -1;
17 }
18
19 #ifdef TEST
20 #include <_PDCLIB_test.h>
21
22 int main( void )
23 {
24     return TEST_RESULTS;
25 }
26
27 #endif