home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2.gno
- Path: sparky!uunet!destroyer!cs.ubc.ca!newsserver.sfu.ca!akostur
- From: akostur@fraser.sfu.ca (Andre John Kostur)
- Subject: Re: Reading shell variables from a program.
- Message-ID: <1992Nov17.020526.3144@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- References: <1e8tnnINN3bf@charnel.ecst.csuchico.edu>
- Date: Tue, 17 Nov 1992 02:05:26 GMT
- Lines: 16
-
- In article <1e8tnnINN3bf@charnel.ecst.csuchico.edu> jamesb@ecst.csuchico.edu (James L. Brookes) writes:
- >I looked through the documentation at hand (as well as several manpages on
- >the unix box here) but I couldn't figure out how to read a shell variable
- >from within a program.
-
- Try the function :
-
- char *getenv(char *);
-
-
- ^
- ' `
- **' `** Andre Kostur
- *** _ ***
- *''***``* akostur@sfu.ca
- ` '
-