[Zlib-devel] Some questions about gz* functions
Török Edwin
edwintorok at gmail.com
Wed Feb 8 13:50:34 EST 2012
On 02/08/2012 07:59 PM, Mark Brown wrote:
> 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.
Isn't fopen() C89?
Anyway I don't see a point in changing the gz interfaces, one can always use fileno()/fdopen() if they want to interact
with FILE*.
Best regards,
--Edwin
More information about the Zlib-devel
mailing list