root / Whitix / branches / hybrid / user / libc / stdlib / env.c
| Revision 75, 217 bytes (checked in by mwhitworth, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | #include <stdlib.h> |
| 2 | |
| 3 | char** environ=NULL; |
| 4 | char* def=""; |
| 5 | |
| 6 | char* getenv(char* name) |
| 7 | { |
| 8 | // printf("getenv(%s)\n", name); |
| 9 | return def; |
| 10 | } |
| 11 | |
| 12 | int putenv(const char* name) |
| 13 | { |
| 14 | printf("putenv(%s)\n", name); |
| 15 | return 0; |
| 16 | } |
Note: See TracBrowser
for help on using the browser.