diff options
| -rw-r--r-- | zlib.h | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -1678,9 +1678,10 @@ ZEXTERN int ZEXPORT gzclose_w(gzFile file); | |||
| 1678 | ZEXTERN const char * ZEXPORT gzerror(gzFile file, int *errnum); | 1678 | ZEXTERN const char * ZEXPORT gzerror(gzFile file, int *errnum); |
| 1679 | /* | 1679 | /* |
| 1680 | Return the error message for the last error which occurred on file. | 1680 | Return the error message for the last error which occurred on file. |
| 1681 | errnum is set to zlib error number. If an error occurred in the file system | 1681 | If errnum is not NULL, *errnum is set to zlib error number. If an error |
| 1682 | and not in the compression library, errnum is set to Z_ERRNO and the | 1682 | occurred in the file system and not in the compression library, *errnum is |
| 1683 | application may consult errno to get the exact error code. | 1683 | set to Z_ERRNO and the application may consult errno to get the exact error |
| 1684 | code. | ||
| 1684 | 1685 | ||
| 1685 | The application must not modify the returned string. Future calls to | 1686 | The application must not modify the returned string. Future calls to |
| 1686 | this function may invalidate the previously returned string. If file is | 1687 | this function may invalidate the previously returned string. If file is |
