Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/waterbox/libc/functions/stdlib/getenv.c
2 views
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
31
32