Date: Wed, 12 Mar 2003 13:55:03 -0800 From: Sean Chittenden <sean@chittenden.org> To: Bruce Evans <bde@zeta.org.au> Cc: standards@FreeBSD.ORG Subject: Re: environ.7 update (#include <unistd.h> ?)... Message-ID: <20030312215503.GW79234@perrin.int.nxad.com> In-Reply-To: <20030312222222.F29327@gamplex.bde.org> References: <20030312091658.GS79234@perrin.int.nxad.com> <20030312222222.F29327@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Simple question: should environ(7) be updated to include > > <unistd.h> in its SYNOPSIS? > > > > It's not required, but I think it's good form to do so. There was > > some debate as to this on IRC so I'm positing the question. > > No. Includes don't belong in section 7 man pages, and environ isn't > even declared in <unistd.h>. I know it's out of character to be in a section 7 page, but there's nothing prohibiting it. It's in stand.h and stand.h doesn't seem to be included by unistd.h (cpp unistd.h). From environ(7): DESCRIPTION An array of strings called the environment is made available by execve(2) when a process begins. execve(2) is made available via unistd.h. ::shrug:: -sc PS, Sorry I'm inclined to ask about adding something instead of letting the question fall into the abyss. Better to ask than let something fall through the cracks. -- Sean Chittenden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030312215503.GW79234>