Subj : Re: export environment variable from a linux c-program To : comp.programming From : SM Ryan Date : Tue Jul 19 2005 09:00 pm =?ISO-8859-1?Q?Lars_=D8hlenschl=E6ger?= wrote: # Hi there, # Does anybody know how to export an environt variable from a c-program? # setenv() and putenv() works inside the program, but the environment is # not modified for subsequent programs. On unix you can't do that. Environments strings are inheritted only; setenv only effects the current process and forked children. -- SM Ryan http://www.rawbw.com/~wyrmwif/ You face forward, or you face the possibility of shock and damage. .