Article View: comp.sys.apple2.gno
Article #275Re: Reading shell variables from a program.
From: Andre John Kostur
Date: Tue, 17 Nov 1992 02:05
Date: Tue, 17 Nov 1992 02:05
16 lines
888 bytes
888 bytes
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
` '
Technical Details
Message-ID:
<1992Nov17.020526.3144@sfu.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!newsserver.sfu.ca!akosturReferences:
<1e8tnnINN3bf@charnel.ecst.csuchico.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.apple2.gno Path: arc1-ca.pugleaf.net!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