environ.c File Reference

Go to the source code of this file.

Functions

NUTENVIRONMENTfindenv (CONST char *name)
 Find an NUTENVIRONMENT entry by name.

Variables

NUTENVIRONMENTnut_environ


Function Documentation

NUTENVIRONMENT* findenv ( CONST char *  name  ) 

Find an NUTENVIRONMENT entry by name.

Parameters:
name Points to a string, which is the name of the entry.
Returns:
A pointer to the entry with the specified name. If the name cannot be found, then a null pointer is returned.

Definition at line 78 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(), NutNvMemLoad(), strcmp(), and strcpy().


Variable Documentation

NUTENVIRONMENT* nut_environ

Definition at line 40 of file environ.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/