Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.std.c Subject: Re: What's a good prototype for write(2)? Summary: All the world is not a VAX Message-ID: <908@vsi.COM> Date: 26 Oct 88 18:20:43 GMT Article-I.D.: vsi.908 References: <902@vsi.COM> <6794@pasteur.Berkeley.EDU> Distribution: comp Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 20 I write: < < extern int write(int, const void *, unsigned); < < ... how does this deal with a successful < write very near the maximum unsigned value? The return < would then appear to be negative. Wayne A. Christopher writes: < < If you have a program that has a good reason for wanting to write 2 billion < bytes at a time, please tell me what it is... There are 16-bit machines out there for which this is an entirely reasonable question. -- Steve Friedl V-Systems, Inc. +1 714 545 6442 3B2-kind-of-guy friedl@vsi.com {backbones}!vsi.com!friedl attmail!vsi!friedl ----Nancy Reagan on 120MB SCSI cartridge tape: "Just say *now*"----