Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Newsgroups: comp.lang.c Subject: Re: accessing environ. vars. [was Re: Auto Search for BGI in Turbo C] Message-ID: <1991Mar23.103930.13555@thunder.mcrcim.mcgill.edu> Date: 23 Mar 91 10:39:30 GMT Article-I.D.: thunder.1991Mar23.103930.13555 References: <65841@eerie.acsu.Buffalo.EDU> <66461@eerie.acsu.Buffalo.EDU> Organization: McGill Research Centre for Intelligent Machines Lines: 10 In article <66461@eerie.acsu.Buffalo.EDU>, woiccak@acsu.buffalo.edu (thomas s woiccak) writes: > How does one access an environment variable from a C/C++ program? char *getenv(char *varname); der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu