Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 13:19:27 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject:   Re: cvs commit: src/lib/libc/sys read.2
Message-ID:  <xzpzn73oim8.fsf@dwp.des.no>
In-Reply-To: <20040616062409.GC20866@ip.net.ua> (Ruslan Ermilov's message of "Wed, 16 Jun 2004 09:24:09 %2B0300")
References:  <200406150124.i5F1Ofp9084012@repoman.freebsd.org> <200406151522.i5FFMeIc001885@khavrinen.lcs.mit.edu> <20040616062409.GC20866@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@FreeBSD.org> writes:
> On Tue, Jun 15, 2004 at 11:22:40AM -0400, Garrett Wollman wrote:
> > Actually, it's {IOV_MAX}.
> You mean you want it marked up like in POSIX, with curlies?
> We still use guidelines from mdoc(7) (where is talks about
> "Defined Variables"), and there are no curlies here, but we
> can change the practice if strongly necessary.  I failed to
> find a definition of using curlies in this case in the POSIX
> spec, can you point me into the right direction?

Note 4 in the _Typographical Conventions_ section in the frontmatter:

"Names surrounded by braces represent symbolic limits or configuration
values which may be declared in appropriate headers by means of the C
#define construct."

Note that POSIX does not require IOV_MAX to be defined in <limits.h>;
if it isn't, the value of sysconf(_SC_IOV_MAX) should be used instead.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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