![]() |
![]()
| ![]() |
![]()
NAMEgetenv, putenv - access environment variables SYNOPSIS#include <u.h>
char* getenv(char *name) DESCRIPTIONGetenv fetches the environment value associated with name into memory allocated with 0-terminates it, and returns a pointer to that area. If no file exists, 0 is returned. Putenv sets the environment value associated with name to val. SOURCE/src/lib9/getenv.c DIAGNOSTICSSets errstr. BUGSTo avoid name conflicts with the underlying system, getenv and putenv are preprocessor macros defined as p9getenv and p9putenv; see
|