SPRAAK
|
Environment variable handling. More...
Functions | |
void | spr_env_old (void) |
int | spr_env_set (const char *name, const char *value) |
int | spr_env_unset (const char *name) |
Environment variable handling.
The original environment table is duplicated in a know format as their is no comment on the format (allocated strings or a fixed array, ...) of the original environment structure.
Modification to the envoriment variables by means of calls to spr_env_set() or spr_env_unset() change the environment for the program itself, and for all child processes started after the change.