Re: environment variables

On Thu, Dec 05, 2002 at 05:00:46PM -0500, Tristan Van Berkom wrote:
export CVSROOT=:pserver:user server    
cvs co
make bla bla

on the other hand...

no way to implement something like `export' ?

"export" is simply "putenv()"

If you don't export a shell variable, then it has nothing to do with
the environment; it's never placed in the environment at all.  If you
put something in the environment using setenv or putenv, it will
always be inherited by child processes.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]