Re: SQR or SQL*PLUS and enviroment variables + UNIX
From: Peter Sylvester <peters_at_mitre.org>
Date: 1995/08/11
Message-ID: <peters-110895082147_at_psylvester.mitre.org>#1/1
Date: 1995/08/11
Message-ID: <peters-110895082147_at_psylvester.mitre.org>#1/1
In article <4083dm$ji5_at_bigboote.WPI.EDU>, kibwe_at_wpi.edu (KJ) wrote:
> Does anyone know how in a Unix enviorment how I can change an
> envoirment variable that existed when it was caled. I know that getenv()
> can be used to read them , but how about changing them?
Try putenv(newstring), where newstring is of the form "name=value"; NOTE: this affects the current program and any newly created children, but not the parents environment (no way to change that).
-- Peter Sylvester MITRE Corp. Bedford, MA (peters_at_mitre.org)Received on Fri Aug 11 1995 - 00:00:00 CEST