home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / apple2 / gno / 339 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.1 KB  |  40 lines

  1. Newsgroups: comp.sys.apple2.gno
  2. Path: sparky!uunet!destroyer!ncar!csn!teal!bazyar
  3. From: bazyar@teal.csn.org (Jawaid Bazyar)
  4. Subject: Re: Reading shell variables from a program.
  5. Message-ID: <bazyar.721961935@teal>
  6. Sender: news@csn.org (news)
  7. Nntp-Posting-Host: teal.csn.org
  8. Organization: Colorado SuperNet, Inc.
  9. References: <1e8tnnINN3bf@charnel.ecst.csuchico.edu>
  10. Date: Tue, 17 Nov 1992 00:58:55 GMT
  11. Lines: 27
  12.  
  13. jamesb@ecst.csuchico.edu (James L. Brookes) writes:
  14.  
  15. >I looked through the documentation at hand (as well as several manpages on
  16. >the unix box here) but I couldn't figure out how to read a shell variable
  17. >from within a program.  
  18.  
  19. >Any help here?
  20.  
  21. GETENV(3V)             C LIBRARY FUNCTIONS             GETENV(3V)
  22.  
  23.  
  24.  
  25. NAME
  26.      getenv - return value for environment name
  27.  
  28. SYNOPSIS
  29.      #include <stdlib.h>
  30.  
  31.      char *getenv(name)
  32.      char *name;
  33.  
  34.  
  35. -- 
  36.  Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
  37.  Procyon, Inc.              |   for the Apple IIgs!   
  38.  bazyar@cs.uiuc.edu         |   P.O Box 620334
  39.  --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
  40.