Unix/Linux Go Back    

Plan 9 - man page for env (plan9 section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

ENV(3)											   ENV(3)

       env - environment variables

       bind #e /env


       The env device serves a one-level directory containing files with arbitrary names and con-
       tents.  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.

       rc(1), fork(2)


       A write starting at an offset after the current extent of a file yields an  error  instead
       of zero filling.

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:31 PM.