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

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Oct 26 19:44:13 AEST 1988


In article <6794 at pasteur.Berkeley.EDU> faustus at ic.Berkeley.EDU (Wayne A. Christopher) writes:
-In article <902 at vsi.COM>, friedl at 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.



More information about the Comp.std.c mailing list