🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #5333

Re: C in Linux omgeving

#5333
From: Dominique Devriese
Date: Tue, 13 May 2003 07:25
13 lines
1582 bytes
karel adams writes:

  karel> Ik wil in een C-programma een variabele lezen van de
  karel> omgeving.  M.a.w. wat je in ksh doet als MYVAR=`pwd` (stom
  karel> voorbeeld natuurlijk) Hoe doe ik dit in C?

man getenv
sjuus
domi

-- 
Q:	Heard about the <ethnic> who couldn't spell?
A:	He spent the night in a warehouse.
Technical Details
Message-ID: <87issfz4t2.fsf@student.kuleuven.ac.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!aotearoa.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail
References: <b9q3qa$lf4o9$1@ID-177484.news.dfncis.de>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,4eecf02f1018514a
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-05-13 00:24:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!aotearoa.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail
From: Dominique Devriese <dominique.devriese@student.kuleuven.ac.be>
Newsgroups: be.comp.programming
Subject: Re: C in Linux omgeving
Date: 13 May 2003 09:25:29 +0200
Organization: KULeuvenNet
Lines: 13
Sender: domi@appel
Message-ID: <87issfz4t2.fsf@student.kuleuven.ac.be>
References: <b9q3qa$lf4o9$1@ID-177484.news.dfncis.de>
NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: naxos.belnet.be 1052810652 1905 134.58.127.12 (13 May 2003 07:24:12 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Tue, 13 May 2003 07:24:12 +0000 (UTC)
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code)
Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@10-0-57-168.kotnet.org
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)