25 #include <osiUnistd.h> 36 setenv(name, value, 1);
58 for (sp = environ ; (sp !=
NULL) && (*sp !=
NULL) ; sp++)
62 const char *cp = getenv (name);
64 printf (
"%s is not an environment variable.\n", name);
66 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.
Routines for code that can't continue or return after an error.
LIBCOM_API void epicsStdCall epicsEnvUnset(const char *name)
Clear the value of an environment variable.