root / Whitix / branches / hybrid / user / libc / stdlib / env.c

Revision 75, 217 bytes (checked in by mwhitworth, 10 months ago)

user/libc/stdlib: add unsetenv stub.

Line 
1#include <stdlib.h>
2
3char** environ=NULL;
4char* def="";
5
6char* getenv(char* name)
7{
8//      printf("getenv(%s)\n", name);
9        return def;
10}
11
12int putenv(const char* name)
13{
14        printf("putenv(%s)\n", name);
15        return 0;
16}
Note: See TracBrowser for help on using the browser.