version 1.2, 1996/06/26 05:32:21 |
version 1.3, 1996/09/22 20:05:18 |
|
|
.Fd #include <stdio.h> |
.Fd #include <stdio.h> |
.Ft FILE * |
.Ft FILE * |
.Fn zopen "const char *path" "const char *mode" "int bits" |
.Fn zopen "const char *path" "const char *mode" "int bits" |
|
.Ft FILE * |
|
.Fn zdopen "int fd" "const char *mode" "int bits" |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Fn zopen |
.Fn zopen |
|
|
.Fa path |
.Fa path |
and associates a stream with it. |
and associates a stream with it. |
.Pp |
.Pp |
|
The |
|
.Fn zdopen |
|
function |
|
opens the compressed file whose file descriptor is given in |
|
.Fa fd |
|
and associates a stream with it. |
|
.Pp |
The argument |
The argument |
.Fa mode |
.Fa mode |
points to one of the following one-character strings: |
points to one of the following one-character strings: |
|
|
.Sh BUGS |
.Sh BUGS |
The |
The |
.Fn zopen |
.Fn zopen |
function |
and |
|
.Fn zdopen |
|
functions |
may not be portable to systems other than |
may not be portable to systems other than |
.Bx . |
.Bx . |