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

-- 
Andreas Persson
pap.is@home.se