cvs commit: src/lib/libc/sys read.2

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Wed Jun 16 16:21:46 GMT 2004


<<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}.

-GAWollman



More information about the cvs-src mailing list