diff options
-rw-r--r-- | zlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1164,7 +1164,8 @@ ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen, | |||
1164 | the byte length of the source buffer. Upon entry, destLen is the total size | 1164 | the byte length of the source buffer. Upon entry, destLen is the total size |
1165 | of the destination buffer, which must be at least the value returned by | 1165 | of the destination buffer, which must be at least the value returned by |
1166 | compressBound(sourceLen). Upon exit, destLen is the actual size of the | 1166 | compressBound(sourceLen). Upon exit, destLen is the actual size of the |
1167 | compressed buffer. | 1167 | compressed buffer. compress() is equivalent to compress2() with a level |
1168 | parameter of Z_DEFAULT_COMPRESSION. | ||
1168 | 1169 | ||
1169 | compress returns Z_OK if success, Z_MEM_ERROR if there was not | 1170 | compress returns Z_OK if success, Z_MEM_ERROR if there was not |
1170 | enough memory, Z_BUF_ERROR if there was not enough room in the output | 1171 | enough memory, Z_BUF_ERROR if there was not enough room in the output |