🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5394

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

#5394
From: Wayne A. Christopher
Date: Wed, 26 Oct 1988 01:40
11 lines
829 bytes
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?  The return
> would then appear to be negative.

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

	Wayne
Technical Details
Message-ID: <6794@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!bionet!agate!pasteur!ic.Berkeley.EDU!faustus
References: <902@vsi.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!bionet!agate!pasteur!ic.Berkeley.EDU!faustus
From: faustus@ic.Berkeley.EDU (Wayne A. Christopher)
Newsgroups: comp.std.c
Subject: Re: What's a good prototype for write(2)?
Message-ID: <6794@pasteur.Berkeley.EDU>
Date: 26 Oct 88 01:40:13 GMT
References: <902@vsi.COM>
Sender: news@pasteur.Berkeley.EDU
Distribution: comp
Lines: 11