Searched refs:gzdopen (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/lib/libz/
H A Dzopen.c57 gz = gzdopen(fd, mode);
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dminigzip.c184 gzFile gzdopen OF((int, const char *));
194 gzFile gzdopen(fd, mode) function
597 file = gzdopen(fileno(stdin), "rb");
598 if (file == NULL) error("can't gzdopen stdin");
601 file = gzdopen(fileno(stdout), outmode);
602 if (file == NULL) error("can't gzdopen stdout");
627 file = gzdopen(fileno(stdout), outmode);
628 if (file == NULL) error("can't gzdopen stdout");
/freebsd-13-stable/sys/contrib/zlib/test/
H A Dminigzip.c179 gzFile gzdopen OF((int, const char *));
189 gzFile gzdopen(fd, mode) function
608 file = gzdopen(fileno(stdin), "rb");
609 if (file == NULL) error("can't gzdopen stdin");
612 file = gzdopen(fileno(stdout), outmode);
613 if (file == NULL) error("can't gzdopen stdout");
638 file = gzdopen(fileno(stdout), outmode);
639 if (file == NULL) error("can't gzdopen stdout");
/freebsd-13-stable/sys/contrib/zlib/
H A Dzconf.h77 # define gzdopen z_gzdopen macro
H A Dgzlib.c289 gzFile ZEXPORT gzdopen(fd, mode) function
H A Dzlib.h1344 ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode));
1346 gzdopen associates a gzFile with the file descriptor fd. File descriptors
1352 fd. If you want to keep fd open, use fd = dup(fd_keep); gz = gzdopen(fd,
1354 gzdopen does not close fd if it fails. If you are using fileno() to get the
1360 gzdopen returns NULL if there was insufficient memory to allocate the
1363 used until the next gz* read, write, seek, or close operation, so gzdopen
1371 gzopen() or gzdopen(), and before any other calls that read or write the
1529 yet. If gzungetc is used immediately after gzopen or gzdopen, at least the
1583 reading a gzip stream from the middle of a file using gzdopen().
1593 appending or when using gzdopen() fo
[all...]
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/
H A Dgzlib.c289 gzFile ZEXPORT gzdopen(fd, mode) function
/freebsd-13-stable/contrib/mandoc/
H A Dread.c470 if ((gz = gzdopen(fd, "rb")) == NULL) {

Completed in 93 milliseconds