#include <dev/nvmem.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include <memdebug.h>#include <sys/nutdebug.h>#include <sys/environ.h>
Go to the source code of this file.
Functions | |
| NUTENVIRONMENT * | findenv (CONST char *name) |
| Find an NUTENVIRONMENT entry by name. | |
Variables | |
| NUTENVIRONMENT * | nut_environ |
| NUTENVIRONMENT* findenv | ( | CONST char * | name | ) |
Find an NUTENVIRONMENT entry by name.
| name | Points to a string, which is the name of the entry. |
Definition at line 81 of file environ.c.
References _NUTENVIRONMENT::env_name, _NUTENVIRONMENT::env_next, _NUTENVIRONMENT::env_prev, _NUTENVIRONMENT::env_value, ENVIRON_EE_OFFSET, ENVIRON_MAGIC, free(), malloc(), MAX_ENVIRON_ITEM_SIZE, memset(), NUTASSERT, NutNvMemLoad(), strcmp(), and strcpy().
Referenced by getenv(), nextenv(), setenv(), and unsetenv().

Definition at line 43 of file environ.c.
Referenced by nextenv(), setenv(), and unsetenv().