setenv from c

Rick Johnson rlj at ncsu.UUCP
Fri Sep 20 05:04:01 AEST 1985


Is it possible to set a csh environment variable within a C program? I know
about getenv(), but have failed at attempts to set an environment variable
from a C program. Basically, what I want to do is "source" a new environment
variable for the current csh process. Any comments or suggestions would be
appreciated. Thanks.


-- 
 
Rick Johnson   (decvax!mcnc!ncsu!rlj)



More information about the Comp.lang.c mailing list