Recent questions tagged environment
The environment of a process is usually a list of variables (basically key=value pairs) providing context for the process, like username, locale, search path, etc. On Linux systems the environment for a process can be accessed via the proc pseudo-filesystem (
/proc/<PID>/environ). The entries in those files are delimited by null characters.