home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!lrw.com!leichter
- From: leichter@lrw.com (Jerry Leichter)
- Newsgroups: comp.os.vms
- Subject: RE: Where is the putenv()???
- Message-ID: <9301121414.AA07988@uu3.psi.com>
- Date: 12 Jan 93 12:48:41 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 17
-
-
- Hi, I am porting a make to VMS. and it needs putenv(). while the
- getenv() is in the stdlib.h but I can find nowhere the putenv(). can
- someone help me on this.
-
- There isn't any. The Unix "environment" doesn't really exist on VMS; getenv()
- creates a similar effect by examining DCL symbols and logicals, but their
- semantics is actually rather different from that of environment values.
-
- Note that putenv() isn't even a very standardized Unix function. POSIX, for
- example, doesn't support it.
-
- You're going to have to look at the code that uses putenv() and determine what
- it does, then figure out how to get the equivalent effect on VMS.
-
- -- Jerry
-
-