🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5402

Re: What's a good prototype for write(2)?

#5402
From: Doug Gwyn
Date: Wed, 26 Oct 1988 09:44
10 lines
1035 bytes
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.
Technical Details
Message-ID: <8757@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!geac!syntron!jtsv16!uunet!tank!nic.MR.NET!umn-d-ub!rutgers!cmcl2!adm!smoke!gwyn
References: <902@vsi.COM> <6794@pasteur.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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) <gwyn>)
Distribution: comp
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 10