]> pd.if.org Git - pdclib/blob - platform/win32/functions/stdlib/getenv.c
PDCLib includes with quotes, not <>.
[pdclib] / platform / win32 / functions / stdlib / getenv.c
1 /* getenv( 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 /* This is a stub implementation of getenv
8 */
9
10 #include <string.h>
11 #include <stdlib.h>
12
13 #ifndef REGTEST
14
15 char * getenv( const char * name )
16 {
17     return NULL;
18 }
19
20 #endif
21
22 #ifdef TEST
23 #include "_PDCLIB_test.h"
24
25 int main( void )
26 {
27     return TEST_RESULTS;
28 }
29
30 #endif