Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 16:13:29 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        hackers@freebsd.org, bde@freebsd.org
Subject:   Re: readv manpage != UIO_MAXIOV
Message-ID:  <20001016161329.W272@fw.wintelcom.net>
In-Reply-To: <20001017000926.A52976@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Tue, Oct 17, 2000 at 12:09:26AM %2B0100
References:  <20001016150017.T272@fw.wintelcom.net> <20001017000926.A52976@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
* David Malone <dwmalone@maths.tcd.ie> [001016 16:09] wrote:
> On Mon, Oct 16, 2000 at 03:00:17PM -0700, Alfred Perlstein wrote:
> 
> > a) change the kernel to match the docco and possibly breaks
> >    lotsa stuff?
> > b) change the docco to note that although FreeBSD allows 
> >    more than 16 iovecs, it's not recommeneded for portability
> >    reasons
> > c) change readv/writev but provide compat syscalls.
> 
> Susv2 man pages say:
> 
>      iovcnt is valid if greater than 0 and less than or equal to
>      {IOV_MAX}, defined in <limits.h>
> 
> We don't seem to #define IOV_MAX, but we could and them update the
> man page to refer to it. It says IOV_MAX must be atleast _XOPEN_IOV_MAX
> which is 16. 

So I guess we need a #define for IOV_MAX set to 1024?  This would
be ideal since it will give a reasonable #define for applications
to use and we don't break our current interface.

All that would be needed is the additional #define and a mention of
it in the manpage.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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