SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
envvar.c File Reference

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)
 

Detailed Description

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.

Author
Dirk Van Compernolle & Kris Demuynck
Date
09 Jul 1991