diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1217,7 +1217,10 @@ ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode)); | |||
1217 | 1217 | ||
1218 | "a" can be used instead of "w" to request that the gzip stream that will | 1218 | "a" can be used instead of "w" to request that the gzip stream that will |
1219 | be written be appended to the file. "+" will result in an error, since | 1219 | be written be appended to the file. "+" will result in an error, since |
1220 | reading and writing to the same gzip file is not supported. | 1220 | reading and writing to the same gzip file is not supported. The addition of |
1221 | "x" when writing will create the file exclusively, which fails if the file | ||
1222 | already exists. On systems that support it, the addition of "e" when | ||
1223 | reading or writing will set the flag to close the file on an execve() call. | ||
1221 | 1224 | ||
1222 | These functions, as well as gzip, will read and decode a sequence of gzip | 1225 | These functions, as well as gzip, will read and decode a sequence of gzip |
1223 | streams in a file. The append function of gzopen() can be used to create | 1226 | streams in a file. The append function of gzopen() can be used to create |