bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module finpending


From: Eric Blake
Subject: Re: new module finpending
Date: Sun, 19 Aug 2007 08:17:28 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 8/19/2007 4:14 AM:
> Jim Meyering wrote:
>> I like fpending_in.
> 
> The description is: "Determines the number of bytes waiting in the input
> buffer of a stream."
> 
> freadahead ?

freadahead seems like the best of the alternatives to me - it conveys the
idea of how many bytes have been read ahead, so that you can guarantee
that many fgetc actions without system calls.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGyFD484KuGfSFAYARAneKAKCP0vRt3pJi1EQqdmA43SMdv+B95wCdHlTF
4QIQuVcauF6lzMmt4sGEC1Y=
=8U0y
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]