On Thu, May 24, 2001 at 10:36:13PM -0400, John wrote:
> Can someone provide some insight as to why UIO_MAXIOV
> is hidden inside _KERNEL?
According to SUSv2 the corect #define to use here is IOV_MAX, which
unfortunately we don't seem to define anywhere. Steven's Unix
programming book says:
4.3BSD and SVR4 limit iovcnt to 16. 4.3+BSD defines the
constant UIO_MAXIOV, which is currently 1024. The SVID
claims the constant IOV_MAX provides the same Syetem V
limit, but it's not defined in any of the SVR4 headers.
Maybe Garrett or Bruce could comment further on what the correct way
for us to define this is.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message