]> pd.if.org Git - pdclib/blob - platform/win32/functions/stdlib/getenv.c
Initial pass at a port to win32
[pdclib] / platform / win32 / functions / stdlib / getenv.c
1 /* $Id$ */
2
3 /* getenv( 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 /* This is a stub implementation of getenv
10 */
11
12 #include <string.h>
13 #include <stdlib.h>
14
15 #ifndef REGTEST
16
17 char * getenv( const char * name )
18 {
19     return NULL;
20 }
21
22 #endif
23
24 #ifdef TEST
25 #include <_PDCLIB_test.h>
26
27 int main( void )
28 {
29     return TEST_RESULTS;
30 }
31
32 #endif