Query: env
OS: plan9
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ENV(3) Library Functions Manual ENV(3)NAMEenv - environment variablesSYNOPSISbind #e /env /env/var1 /env/var2 ...DESCRIPTIONThe env device serves a one-level directory containing files with arbitrary names and contents. The intention is that the file name is the name of an environment variable (see rc(1)), and the content is the variable's current value. When a fork(2) system call creates a new process, both the parent and the child continue to see exactly the same files in the env device: changes made in either process can be noticed by the other. In contrast, an rfork system call with the RFENVG bit set (see fork(2)) causes a split: initially both process groups see the same environment files, but any changes made in one process group cannot be noticed by the other. An rfork with RFCENVG splits and then clears the environment.SEE ALSOrc(1), fork(2)SOURCE/sys/src/9/port/devenv.cBUGSA write starting at an offset after the current extent of a file yields an error instead of zero filling. ENV(3)
Related Man Pages |
---|
env(1) - linux |
env(3) - plan9 |
env(1) - opendarwin |
env(1) - netbsd |
env(1) - v7 |
Similar Topics in the Unix Linux Community |
---|
DISPLAY settiing |
root env |
Modifying a variable value |
ls to exclude file |
Perl error with $ENV variable |