Setenv / clearenv + procfs environ

Is it possible to get the relevant information from the /proc/pid/environ file if the process has changed its environment? My tests show that setenv/putenv/clearenv does not update the environ file. However, in bash you can invoke unset ENV and see changes in procfs.

+4
source share

All Articles