Manipulating the Shell environment variables

Gregory A. Gulik gag at chinet.chi.il.us
Tue Mar 21 13:00:34 AEST 1989


How can I change variables in the environment in a C program,
and have the change remain in effect when I exit it?

putenv() does not make the change permanent; the variable is
it's original value when the C program exits.

Help!


-- 
Gregory A. Gulik
gag at chinet.chi.il.us
-or-
gulik at depaul.edu



More information about the Comp.unix.questions mailing list