NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
#include <env/chEnv.h>int sysUnsetEnv(const char *envName);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The sysUnsetEnv() system call deletes the environment variable pointed to by envName. This is a NULL-terminated string.
On successful completion, K_OK is returned. Otherwise, a negative error code is returned.
envName was not an existing configuration variable in the current ChorusOS environment.
Some of the data provided are outside the current actor's address space.
For user mode access, the string size of envName exceeds the internal size limit imposed by the user system call implementation. The default value of this limit is 32 bytes.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO