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