Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 09:47:47 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        John <jwd@bsdwins.com>
Cc:        Hackers List <freebsd-hackers@freebsd.org>
Subject:   Re: sys/uio.h UIO_MAXIOV hidden inside _KERNEL
Message-ID:  <20010525094747.A74059@walton.maths.tcd.ie>
In-Reply-To: <20010524223613.A23038@bsdwins.com>; from jwd@bsdwins.com on Thu, May 24, 2001 at 10:36:13PM -0400
References:  <20010524223613.A23038@bsdwins.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 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?20010525094747.A74059>