* David Malone <[EMAIL PROTECTED]> [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 - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to