writev(2) and IOV_MAX confusion
Garrett Wollman
wollman at khavrinen.lcs.mit.edu
Mon Feb 16 11:35:25 PST 2004
<<On Mon, 16 Feb 2004 02:32:54 -0800, David Schultz <das at FreeBSD.ORG> said:
> In POSIX, you get IOV_MAX only by including <limits.h>, and
> FreeBSD's <limits.h> includes <sys/syslimits.h>, so the code is
> correct here. As far as I can tell, the man page doesn't say
> anything about what you have to include to get IOV_MAX, but I
> suppose it could be more clear.
I have long advocated for support in -mdoc for POSIX's distinctive
{CONFIG_VAR} typograhpy to make it clear(er) what these variables are
(and incidentally not imply that they will always be defined).
-GAWollman
More information about the freebsd-standards
mailing list