49 "Failed to set environment parameter \"%s\" to \"%s\": %s\n",
65 if (getenv(name) !=
NULL)
78 for (sp = environ ; (sp !=
NULL) && (*sp !=
NULL) ; sp++)
82 const char *cp = getenv (name);
84 printf (
"%s is not an environment variable.\n", name);
86 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.
void errPrintf(long status, const char *pFileName, int lineno, const char *pformat,...)
LIBCOM_API void * mallocMustSucceed(size_t size, const char *msg)
A malloc() that never returns NULL.
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.