From owner-freebsd-standards Wed Mar 12 13:55:39 2003 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C318937B405 for ; Wed, 12 Mar 2003 13:55:36 -0800 (PST) Received: from perrin.int.nxad.com (internal.ext.nxad.com [69.1.70.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A3F243FB1 for ; Wed, 12 Mar 2003 13:55:36 -0800 (PST) (envelope-from sean@perrin.int.nxad.com) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id 1B41021075; Wed, 12 Mar 2003 13:55:04 -0800 (PST) Date: Wed, 12 Mar 2003 13:55:03 -0800 From: Sean Chittenden To: Bruce Evans Cc: standards@FreeBSD.ORG Subject: Re: environ.7 update (#include ?)... Message-ID: <20030312215503.GW79234@perrin.int.nxad.com> References: <20030312091658.GS79234@perrin.int.nxad.com> <20030312222222.F29327@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030312222222.F29327@gamplex.bde.org> User-Agent: Mutt/1.4i X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 3849 3760 1AFE 7B17 11A0 83A6 DD99 E31F BC84 B341 X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Simple question: should environ(7) be updated to include > > 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 . 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