Subject: Re: wrap up of pipe(2)
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Andreas Persson <firstname.lastname@example.org>
Date: 10/16/2001 01:14:45
On Mon, Oct 15, 2001 at 01:07:38PM -0400, "Greg A. Woods" <email@example.com> 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 <firstname.lastname@example.org> <email@example.com>
>Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>