gzFile
int ZEXPORT gzclose(gzFile file) {
ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int);
ZEXTERN z_off64_t ZEXPORT gztell64(gzFile);
ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);
return (gzFile)state;
gzFile ZEXPORT gzopen(const char *path, const char *mode) {
gzFile ZEXPORT gzopen64(const char *path, const char *mode) {
gzFile ZEXPORT gzdopen(int fd, const char *mode) {
gzFile gz;
gzFile ZEXPORT gzopen_w(const wchar_t *path, const char *mode) {
int ZEXPORT gzbuffer(gzFile file, unsigned size) {
int ZEXPORT gzrewind(gzFile file) {
z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence) {
z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence) {
z_off64_t ZEXPORT gztell64(gzFile file) {
z_off_t ZEXPORT gztell(gzFile file) {
z_off64_t ZEXPORT gzoffset64(gzFile file) {
z_off_t ZEXPORT gzoffset(gzFile file) {
int ZEXPORT gzeof(gzFile file) {
const char * ZEXPORT gzerror(gzFile file, int *errnum) {
void ZEXPORT gzclearerr(gzFile file) {
local gzFile gz_open(const void *path, int fd, const char *mode) {
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len) {
gzFile file) {
int ZEXPORT gzgetc(gzFile file) {
int ZEXPORT gzgetc_(gzFile file) {
int ZEXPORT gzungetc(int c, gzFile file) {
char * ZEXPORT gzgets(gzFile file, char *buf, int len) {
int ZEXPORT gzdirect(gzFile file) {
int ZEXPORT gzclose_r(gzFile file) {
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len) {
gzFile file) {
int ZEXPORT gzputc(gzFile file, int c) {
int ZEXPORT gzputs(gzFile file, const char *s) {
int ZEXPORTVA gzvprintf(gzFile file, const char *format, va_list va) {
int ZEXPORTVA gzprintf(gzFile file, const char *format, ...) {
int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, int a3,
int ZEXPORT gzflush(gzFile file, int flush) {
int ZEXPORT gzsetparams(gzFile file, int level, int strategy) {
int ZEXPORT gzclose_w(gzFile file) {
gzFile file;
static gzFile gz_open(const char *path, int fd, const char *mode) {
gzFile gz;
static gzFile gzopen(const char *path, const char *mode) {
static gzFile gzdopen(int fd, const char *mode) {
static int gzwrite(gzFile gz, const void *buf, unsigned len) {
static int gzread(gzFile gz, void *buf, unsigned len) {
static int gzclose(gzFile gz) {
static const char *gzerror(gzFile gz, int *err) {
static int gz_compress_mmap(FILE *in, gzFile out) {
static void gz_compress(FILE *in, gzFile out) {
static void gz_uncompress(gzFile in, FILE *out) {
gzFile out;
gzFile in;
gzFile file;
ZEXTERN gzFile ZEXPORT gzdopen(int fd, const char *mode);
ZEXTERN int ZEXPORT gzbuffer(gzFile file, unsigned size);
ZEXTERN int ZEXPORT gzsetparams(gzFile file, int level, int strategy);
ZEXTERN int ZEXPORT gzread(gzFile file, voidp buf, unsigned len);
gzFile file);
ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len);
z_size_t nitems, gzFile file);
ZEXTERN int ZEXPORTVA gzprintf(gzFile file, const char *format, ...);
ZEXTERN int ZEXPORT gzputs(gzFile file, const char *s);
ZEXTERN char * ZEXPORT gzgets(gzFile file, char *buf, int len);
ZEXTERN int ZEXPORT gzputc(gzFile file, int c);
ZEXTERN int ZEXPORT gzgetc(gzFile file);
ZEXTERN int ZEXPORT gzungetc(int c, gzFile file);
ZEXTERN int ZEXPORT gzflush(gzFile file, int flush);
ZEXTERN int ZEXPORT gzrewind(gzFile file);
ZEXTERN int ZEXPORT gzeof(gzFile file);
ZEXTERN int ZEXPORT gzdirect(gzFile file);
ZEXTERN int ZEXPORT gzclose(gzFile file);
ZEXTERN int ZEXPORT gzclose_r(gzFile file);
ZEXTERN int ZEXPORT gzclose_w(gzFile file);
ZEXTERN const char * ZEXPORT gzerror(gzFile file, int *errnum);
ZEXTERN void ZEXPORT gzclearerr(gzFile file);
ZEXTERN int ZEXPORT gzgetc_(gzFile file); /* backward compatibility */
ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int);
ZEXTERN z_off64_t ZEXPORT gztell64(gzFile);
ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);
ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
ZEXTERN z_off_t ZEXPORT gzseek64(gzFile, z_off_t, int);
ZEXTERN z_off_t ZEXPORT gztell64(gzFile);
ZEXTERN z_off_t ZEXPORT gzoffset64(gzFile);
ZEXTERN gzFile ZEXPORT gzopen(const char *, const char *);
ZEXTERN z_off_t ZEXPORT gzseek(gzFile, z_off_t, int);
ZEXTERN z_off_t ZEXPORT gztell(gzFile);
ZEXTERN z_off_t ZEXPORT gzoffset(gzFile);
ZEXTERN gzFile ZEXPORT gzopen_w(const wchar_t *path,
ZEXTERN int ZEXPORTVA gzvprintf(gzFile file,
static void gz_uncompress(gzFile, int);
gz_uncompress(gzFile in, int out)
gzFile zfp;
static char *parsecatpage(const char *, gzFile);
static char *nroff(const char *, gzFile);
static char *parsemanpage(const char *, gzFile, int);
gzFile in;
GetS(gzFile in, char *buffer, size_t length)
parsecatpage(const char *name, gzFile in)
nroff(const char *inname, gzFile in)
parsemanpage(const char *name, gzFile in, int defaultsection)
static char *GetS(gzFile, char *, size_t);
gzFile gz = gzopen(fname, mode);
gzFile gzf;
gzFile gzf;
gzFile gzf;
ZEXTERN int ZEXPORT gzread(gzFile, voidp, unsigned);
ZEXTERN int ZEXPORT gzwrite(gzFile, const voidp, unsigned);
ZEXTERN int ZEXPORTVA gzprintf(gzFile, const char *, ...)
ZEXTERN int ZEXPORT gzputs(gzFile, const char *);
ZEXTERN char * ZEXPORT gzgets(gzFile, char *, int);
ZEXTERN int ZEXPORT gzputc(gzFile, int);
ZEXTERN int ZEXPORT gzgetc(gzFile);
ZEXTERN int ZEXPORT gzflush(gzFile, int);
ZEXTERN z_off_t ZEXPORT gzseek(gzFile, z_off_t, int);
ZEXTERN int ZEXPORT gzrewind(gzFile);
ZEXTERN z_off_t ZEXPORT gztell(gzFile);
ZEXTERN int ZEXPORT gzeof(gzFile);
ZEXTERN int ZEXPORT gzclose(gzFile);
ZEXTERN const char * ZEXPORT gzerror(gzFile, int *);
ZEXTERN gzFile ZEXPORT gzopen(const char *, const char *);
ZEXTERN gzFile ZEXPORT gzdopen(int, const char *);
ZEXTERN int ZEXPORT gzsetparams(gzFile, int, int);
static gzFile gzbufdesc;