[Zlib-devel] Some questions about gz* functions
niXman
i.nixman at gmail.com
Wed Feb 8 13:47:17 EST 2012
Hi,
2012/2/8 Mark Brown <broonie at sirena.org.uk>:
> On Wed, Feb 08, 2012 at 09:37:57PM +0400, niXman wrote:
>
>> I want to offer a patch of implementation of abstract IO-API for gz*
>> functions. For this purpose I need to change gz* functions so that
>> they used file-handlers instead of file-descriptors.
>> Tell to me please why gz* functions use file-descriptors but not
>> file-handlers? And whether will be accepted my patch which modifies
>> zlib so that it was used file-handler instead of file-descriptor?
>
> I'm a different Mark, but what is a "file handler"? If you mean a file
> handle that's a POSIX specific concept which isn't available on many
> OSs.
Yes, FILE.
My implementation uses a pointer to void, pointing to an untyped file-handler.
Tell me, for example what OSs do not support POSIX fopen/fread... functions?
Regards.
More information about the Zlib-devel
mailing list