#include <sys/environ.h>
Functions | |
char * | getenv (const char *name) |
Get the value of an environment variable. | |
char * | nextenv (const char *name) |
Get the name of the next environment variable. |
char* getenv | ( | const char * | name | ) |
Get the value of an environment variable.
name | Points to a string, which is the name of the variable. |
References _NUTENVIRONMENT::env_value, findenv(), and NULL.
Referenced by MibRegisterSysVars().
char* nextenv | ( | const char * | name | ) |
Get the name of the next environment variable.
name | Points to a string, which is the name of the previous variable. If this pointer is NULL or points to an empty string, then the name of the first variable is returned. |
References _NUTENVIRONMENT::env_name, _NUTENVIRONMENT::env_next, findenv(), NULL, and nut_environ.