c -> environment vars

Rob Tulloh robtu at itx.isc.com
Sat Apr 6 05:19:46 AEST 1991


jac at dobag.in-berlin.de (Joerg Conradt) writes:

>Hello world
>is it possible, that a c-programm changes shell (environment) variables?
>if yes, how?
>thanx Joerg

Well, in the man pages on both my RS/6000 and my ISC 386ix box is an entry for 
putenv() which is part of the standard library (libc). Have a look here
for the info you need.

>-- 
>UUCP: jac at dobag.in-berlin.de  | - The number of viewers watching you is
>Alias Joerg Conradt           |   proportional to the stupidity of your
>1000 Berlin 41 Germany        |   action.
>++ 0307958397                 | - "Murphy was an optimist"

Rob Tulloh
--
INTERACTIVE Systems Corp.         Tel: (512) 343 0376 Ext. 116
9442 Capital of Texas Hwy. North  Fax: (512) 343 0376 Ext. 161 (not a typo!)
Arboretum Plaza One, Suite 700    Net: robertt at isc.com (polled daily)
Austin, Texas 78759               GEnie: R.TULLOH (polled monthly)



More information about the Comp.unix.programmer mailing list