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

Andreas Persson