Newsgroups: comp.lang.c Path: utzoo!utgpu!watserv1!watmath!datangua From: datangua@watmath.waterloo.edu (David Tanguay) Subject: Re: Putenv() & Getenv() Bug ? Message-ID: <1991Feb18.112946.27312@watmath.waterloo.edu> Organization: University of Waterloo References: <50361@olivea.atc.olivetti.com> <1991Feb15.151849.5269@ux1.cso.uiuc.edu> <448@bria> Date: Mon, 18 Feb 1991 11:29:46 GMT Lines: 13 In article <448@bria> uunet!bria!mike writes: |[ in response to a question on putenv() and getenv() ] |I don't believe that this is as system-specific as you would would like to |believe. I have not yet encountered a C library that didn't include these |two _subroutines_ regardless of operating system. The you've led a sheltered life :-) I've seen several compilers without putenv on operating systems that don't have environments. Both are easy to nop out, but any program that uses putenv probably needs the proper semantics; getenv is more often used to override program defaults. -- David Tanguay Software Development Group, University of Waterloo