cvs commit: src/lib/libc/sys read.2
Bruce Evans
bde at zeta.org.au
Wed Jun 16 21:40:16 GMT 2004
On Wed, 16 Jun 2004, Garrett Wollman wrote:
> <<On Wed, 16 Jun 2004 09:24:09 +0300, Ruslan Ermilov <ru at 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}.
A macro for this would be good, since parameters like IOV_MAX should
be marked up even if they are non-POSIX constants, and changing the
markup would be easier than adding braces (something like s/Dv/Pv/).
Bruce
More information about the cvs-src
mailing list