Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 11:43:34 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/sys read.2
Message-ID:  <200406161543.i5GFhYq7009877@khavrinen.lcs.mit.edu>
In-Reply-To: <20040616062409.GC20866@ip.net.ua>
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
<<On Wed, 16 Jun 2004 09:24:09 +0300, Ruslan Ermilov <ru@FreeBSD.org> said:

>> [I wrote:]
>> Actually, it's {IOV_MAX}.

> You mean you want it marked up like in POSIX, with curlies?

I don't care that much about how it is marked up.  The important point
is that it is a configuration variable, not a constant.  POSIX makes
no guarantee:

- that IOV_MAX will be defined as a preprocessor macro,
- that sysconf(_SC_IOV_MAX) is time-invariant, or
- that implementations will have any maximum at all.

I have argued for a long time that such system parameters are due
special markup.  POSIX writes it {IOV_MAX}.

-GAWollman



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