#include <sys/environ.h>
Go to the source code of this file.
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. |
Definition at line 45 of file getenv.c.
References _NUTENVIRONMENT::env_value, and findenv().
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. |
Definition at line 68 of file getenv.c.
References _NUTENVIRONMENT::env_name, _NUTENVIRONMENT::env_next, findenv(), and nut_environ.