Subject: Re: wrap up of pipe(2)
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Andreas Persson <email@example.com>
Date: 10/16/2001 01:14:45
On Mon, Oct 15, 2001 at 01:07:38PM -0400, "Greg A. Woods" <firstname.lastname@example.org> wrote:
>Maybe it should do what read(2) and readv(2) do and return with EINVAL
>set when the value to be returned is larger than INT_MAX?
I don't think so; EINVAL indicates to me that the programmer did something
wrong. There is nothing wrong about trying to find out how much data you
can read. I don't see a good solution to this problem...
> Greg A. Woods
>+1 416 218-0098 VE3TCP <email@example.com> <firstname.lastname@example.org>
>Planix, Inc. <email@example.com>; Secrets of the Weird <firstname.lastname@example.org>