Subject: Re: wrap up of pipe(2)
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 10/14/2001 18:05:45
[ On Sunday, October 14, 2001 at 23:42:59 (+0200), Matthias Buelow wrote: ]
> Subject: Re: wrap up of pipe(2)
>
> Greg A. Woods writes:
> 
> >There are certainly modern machines which can address that much and more
> >physical memory, albiet only 64-bit machines IIRC, and if I'm not
> >mistaken sizeof(int) == 8 on NetBSD on all of them.....
> 
> Are you sure this isn't sizeof(long)--and sizeof(int) is 4 bytes?

If that's true then it's quite likely NetBSD will run on systems where
read(2) could return EINVAL because there was more than SSIZE_MAX bytes
to return....  if not right away then in the near future...  :-)

-- 
							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>