-----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 [EMAIL PROTECTED] -----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-----