Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 01:16:58 -0800
From:      Sean Chittenden <seanc@FreeBSD.org>
To:        standards@FreeBSD.ORG
Subject:   environ.7 update (#include <unistd.h> ?)...
Message-ID:  <20030312091658.GS79234@perrin.int.nxad.com>

next in thread | raw e-mail | index | archive | help

--j6Ejlva3tMw3xXYi
Content-Type: multipart/mixed; boundary="l+LxDeyHMCBjwres"
Content-Disposition: inline


--l+LxDeyHMCBjwres
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

-sc

http://people.freebsd.org/~seanc/patches/#environ_include

--=20
Sean Chittenden

--l+LxDeyHMCBjwres
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

Index: share/man/man7/environ.7
===================================================================
RCS file: /home/ncvs/src/share/man/man7/environ.7,v
retrieving revision 1.18
diff -u -r1.18 environ.7
--- share/man/man7/environ.7	7 Jun 2002 00:45:06 -0000	1.18
+++ share/man/man7/environ.7	12 Mar 2003 09:04:40 -0000
@@ -39,6 +39,8 @@
 .Nm environ
 .Nd user environment
 .Sh SYNOPSIS
+.In unistd.h
+.Pp
 .Ar extern char **environ ;
 .Sh DESCRIPTION
 An array of strings called the

--l+LxDeyHMCBjwres--

--j6Ejlva3tMw3xXYi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: Sean Chittenden <sean@chittenden.org>

iD8DBQE+bvsK3ZnjH7yEs0ERApYxAJ99h6EK3KPHX0YjqePPZLXgW4ZrdACfQRR0
2gSyWnEe3faMtjNZVgAni+s=
=FOQ8
-----END PGP SIGNATURE-----

--j6Ejlva3tMw3xXYi--

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?20030312091658.GS79234>