20 #include "osiUnistd.h" 29 setenv(name, value, 1);
51 for (sp = environ ; (sp !=
NULL) && (*sp !=
NULL) ; sp++)
55 const char *cp = getenv (name);
57 printf (
"%s is not an environment variable.\n", name);
59 printf (
"%s=%s\n", name, cp);
void epicsStdCall iocshEnvClear(const char *name)
Routines to get and set EPICS environment parameters.
LIBCOM_API void epicsStdCall epicsEnvShow(const char *name)
Print value of an environment variable, or all variables.
LIBCOM_API void epicsStdCall epicsEnvSet(const char *name, const char *value)
Set an environment variable's value.
LIBCOM_API void epicsStdCall epicsEnvUnset(const char *name)
Clear the value of an environment variable.