Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 1997 20:36:41 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        arnej@stud.math.ntnu.no, ponds!uriah.heep.sax.de!j, ponds!uriah.heep.sax.de!joerg_wunsch
Cc:        ponds!FreeBSD.ORG!hackers
Subject:   Re: bcc vs cc/gcc (float)
Message-ID:  <199706020036.UAA18558@lakes.water.net>

next in thread | raw e-mail | index | archive | help
> 
> j@uriah.heep.sax.de (J Wunsch) wrote:
> > IMHO, Posix specifies the `extern char **environ' extension however.
> > This seems to be more liberal in that the implementation is free in
> > how this pointer is being initialized.
> > 
> > I don't see a declaration for environ in our /usr/include/ files.
> > Shouldn't it be there?
> 
> Posix doesn't specify any (which I think was a mistake), but it would
> be nice to have it as an extension.  Maybe in <unistd.h> like
> sys_siglist? (<unistd.h>: everything that doesn't fit anywhere else :-)
> 
>   -  Arne H. J.
> 

 I don't think you can do this; because it would violate the user's
name space.

 Since POSIX doesn't specify, I believe a user is allowed to declare his own
external named environ.

 Then, you would have a conflict.

	- Dave Rivers -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706020036.UAA18558>