Newsgroups: comp.unix.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!rochester!kodak!ispd-newsserver!ism.isc.com!robtu
From: robtu@itx.isc.com (Rob Tulloh)
Subject: Re: c -> environment vars
Message-ID: <robtu.670879186@mexia>
Sender: usenet@ism.isc.com (Ism Usenet News)
Organization: Interactive Systems Corp.
References: <OWOPWXB@dobag.in-berlin.de>
Date:  5 Apr 91 19:19:46 GMT

jac@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@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@isc.com (polled daily)
Austin, Texas 78759               GEnie: R.TULLOH (polled monthly)
