Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!tank!nic.MR.NET!umn-d-ub!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.std.c Subject: Re: What's a good prototype for write(2)? Message-ID: <8757@smoke.BRL.MIL> Date: 26 Oct 88 09:44:13 GMT Article-I.D.: smoke.8757 References: <902@vsi.COM> <6794@pasteur.Berkeley.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Distribution: comp Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <6794@pasteur.Berkeley.EDU> faustus@ic.Berkeley.EDU (Wayne A. Christopher) writes: -In article <902@vsi.COM>, friedl@vsi.COM (Stephen J. Friedl) writes: -> extern int write(int, const void *, unsigned); -> ... how does this deal with a successful -> write very near the maximum unsigned value? -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... Lots of people have had trouble with this for modest request sizes, say from 32K to 64K-1.