Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 30
hp e3000
programming
and posix
environment variables
special string variables copied from parent to child when
new processes are created
the POSIX shell will only copy exported variables
– foo=bar; export foo
– export foo=bar
static copies of CI variables are exported by the
shell
the environment is a process-local structure; your parent
and any already running children wont see any
environment changes that you make