-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 3/6/2008 2:41 PM: | However, I would prefer API changes as follows: | - freadahead keeps its signature but returns the total buffered bytes count. | - freadptr is changed to also return the size of the buffer. | extern const char * freadptr (FILE *stream, size_t *sizep); | When the return value is non-NULL, *sizep is set to the size of the | buffer whose address is the return value.
Sounds fine to me. In particular, it means that freadptr is now usable without any dependency on freadahead. - -- 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 iD8DBQFH0NnQ84KuGfSFAYARAm2PAJ9JrTZ4/32rVlHU5IY3uN+kzYODKACgyJBp uqyNUHEMTi5Z0/3blQ9ebbk= =oWq4 -----END PGP SIGNATURE-----