Article View: comp.sys.apple2.gno
Article #274Re: Reading shell variables from a program.
From: Jawaid Bazyar
Date: Tue, 17 Nov 1992 00:58
Date: Tue, 17 Nov 1992 00:58
27 lines
1157 bytes
1157 bytes
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.
>Any help here?
GETENV(3V) C LIBRARY FUNCTIONS GETENV(3V)
NAME
getenv - return value for environment name
SYNOPSIS
#include <stdlib.h>
char *getenv(name)
char *name;
--
Jawaid Bazyar | Ask me about the GNO Multitasking Environment
Procyon, Inc. | for the Apple IIgs!
bazyar@cs.uiuc.edu | P.O Box 620334
--Apple II Forever!-- | Littleton, CO 80162-0334 (303) 933-4649
Technical Details
Message-ID:
<bazyar.721961935@teal>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!ncar!csn!teal!bazyarReferences:
<1e8tnnINN3bf@charnel.ecst.csuchico.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.apple2.gno Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!ncar!csn!teal!bazyar From: bazyar@teal.csn.org (Jawaid Bazyar) Subject: Re: Reading shell variables from a program. Message-ID: <bazyar.721961935@teal> Sender: news@csn.org (news) Nntp-Posting-Host: teal.csn.org Organization: Colorado SuperNet, Inc. References: <1e8tnnINN3bf@charnel.ecst.csuchico.edu> Date: Tue, 17 Nov 1992 00:58:55 GMT Lines: 27