aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zlib.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/zlib.h b/zlib.h
index 6adb0bb..e734b66 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1678,9 +1678,10 @@ ZEXTERN int ZEXPORT gzclose_w(gzFile file);
1678ZEXTERN const char * ZEXPORT gzerror(gzFile file, int *errnum); 1678ZEXTERN 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