Make setenv() return status
Currently, the setenv function does not return an error code. This patch allows to test for errors. Signed-off-by: Steve Falco <sfalco@harris.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
4928e97c85
commit
75678c807a
@@ -22,7 +22,7 @@ void vprintf(const char *, va_list);
|
||||
void do_reset (void);
|
||||
unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
|
||||
char *getenv (char *name);
|
||||
void setenv (char *varname, char *varvalue);
|
||||
int setenv (char *varname, char *varvalue);
|
||||
long simple_strtol(const char *cp,char **endp,unsigned int base);
|
||||
int strcmp(const char * cs,const char * ct);
|
||||
#ifdef CONFIG_HAS_UID
|
||||
|
||||
Reference in New Issue
Block a user