It exists in zlib for backwards compatibility, but has never been
documented/advertised for use in zlib-ngs native API.
return gz_read(state, buf, 1) < 1 ? -1 : buf[0];
}
+#ifdef ZLIB_COMPAT
int Z_EXPORT PREFIX(gzgetc_)(gzFile file) {
return PREFIX(gzgetc)(file);
}
+#endif
/* -- see zlib.h -- */
int Z_EXPORT PREFIX(gzungetc)(int c, gzFile file) {
unsigned char *next;
z_off64_t pos;
};
-Z_EXTERN Z_EXPORT int32_t zng_gzgetc_(gzFile file); /* backward compatibility */
# define @ZLIB_SYMBOL_PREFIX@zng_gzgetc(g) ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (@ZLIB_SYMBOL_PREFIX@zng_gzgetc)(g))
#endif /* WITH_GZFILEOP */
zng_gzfread;
zng_gzfwrite;
zng_gzgetc;
- zng_gzgetc_;
zng_gzgets;
zng_gzoffset;
zng_gzoffset64;