This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: environ and -D_GNU_SOURCE
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: environ and -D_GNU_SOURCE
- From: Wolfgang Sourdeau <wolfgang at iNsu dot com>
- Date: Wed, 17 May 2000 14:42:20 -0400 (EDT)
- Cc: glibc-linux at ricardo dot ecn dot wfu dot edu
- References: <200005171548.LAA03493@linux.home> <u8k8gt87de.fsf@gromit.rhein-neckar.de>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Andreas> environ is not part of any standard AFAIK - and therefore you need
Andreas> _GNU_SOURCE. If it would be, you would get it via one of the other
Andreas> feature test macros. We can't allow it without any feature test
Andreas> macro, since this would violate standards like ISO C or POSIX that not
Andreas> only specify what has to be in a header - but also forbid anything
Andreas> else.
Ok. But then it would be interesting to put this in the docs, since I
had to look at the headers to find the solution...