diff options
Diffstat (limited to 'zlib.h')
| -rw-r--r-- | zlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -795,7 +795,10 @@ ZEXTERN int ZEXPORT deflatePending(z_streamp strm, | |||
| 795 | or bits are Z_NULL, then those values are not set. | 795 | or bits are Z_NULL, then those values are not set. |
| 796 | 796 | ||
| 797 | deflatePending returns Z_OK if success, or Z_STREAM_ERROR if the source | 797 | deflatePending returns Z_OK if success, or Z_STREAM_ERROR if the source |
| 798 | stream state was inconsistent. | 798 | stream state was inconsistent. If an int is 16 bits and memLevel is 9, then |
| 799 | it is possible for the number of pending bytes to not fit in an unsigned. In | ||
| 800 | that case Z_BUF_ERROR is returned and *pending is set to the maximum value | ||
| 801 | of an unsigned. | ||
| 799 | */ | 802 | */ |
| 800 | 803 | ||
| 801 | ZEXTERN int ZEXPORT deflateUsed(z_streamp strm, | 804 | ZEXTERN int ZEXPORT deflateUsed(z_streamp strm, |
