Subject: Re: FIONWRITE proposal
To: None <cgd@broadcom.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/13/2004 20:58:41
--Apple-Mail-10--839962541
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Oct 13, 2004, at 5:56 PM, cgd@broadcom.com wrote:

> Why is "number of bytes which have not yet been 'sent'" the right
> semantics, as opposed to, say, "number of bytes that you can
> immediately write"?
>
> The latter would definitely more akin to the write side of FIONREAD,
> as far as I know...

That is what I originally suggested to Bill... but what do you do for 
regular files?  Return INT_MAX?  0?  EOPNOTSUPP?

         -- Jason R. Thorpe <thorpej@shagadelic.org>


--Apple-Mail-10--839962541
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBbflxOpVKkaBm8XkRAgKEAJ9T0whNpWzui1SIrZZJoXFotP4ZJgCgqbZv
Emt5tCr5/YwaM9+8mnENKYU=
=ailu
-----END PGP SIGNATURE-----

--Apple-Mail-10--839962541--