using environment variables in C programs

utzoo!decvax!harpo!npoiv!pyuxbb!mkg utzoo!decvax!harpo!npoiv!pyuxbb!mkg
Tue Nov 9 10:57:41 AEST 1982


cfiB!rich is incorrect about what getenv() returns.
getenv() will return NULL if the requested variable is undefined
and will return a pointer to the value of the variable if it is
defined (yes even if the value is NULL).
   Marsh Gosnell  BTL Piscataway  (201) 981-2758  harpo!whuxlb!mkg



More information about the Comp.lang.c mailing list