diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-12-03 06:44:30 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-12-03 06:44:30 +0100 |
commit | 84c930a07894e30804469c32d84377b15868bfce (patch) | |
tree | 641b6adc9c4593d55810d1690f45e554d46f4d08 /sys/include/ape/stdlib.h | |
parent | eb9de925c63990f6b19494698e4db1eb9682e46d (diff) |
ape: fix putenv()
writing /env in putenv() doesnt work. exec will create
new enviroment anyway. we have to modify environ array!
Diffstat (limited to 'sys/include/ape/stdlib.h')
-rw-r--r-- | sys/include/ape/stdlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/ape/stdlib.h b/sys/include/ape/stdlib.h index 374e6c566..8288f86b9 100644 --- a/sys/include/ape/stdlib.h +++ b/sys/include/ape/stdlib.h @@ -35,6 +35,7 @@ extern void abort(void); extern int atexit(void (*func)(void)); extern void exit(int); extern char *getenv(const char *); +extern int putenv(char *); extern int system(const char *); extern void *bsearch(const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); |