aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-10-23 12:25:55 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-10-23 12:25:55 -0700
commite8576790be06e976ba739a14d17480fd6709ee70 (patch)
tree2dc65e7cb42ba8ca0494cdf71444c17d97bac76d
parent6dbf1d10263dbf2f49d12d788f89ab308ba4ca6d (diff)
downloadzlib-e8576790be06e976ba739a14d17480fd6709ee70.tar.gz
zlib-e8576790be06e976ba739a14d17480fd6709ee70.tar.bz2
zlib-e8576790be06e976ba739a14d17480fd6709ee70.zip
Note behavior of uncompress() to provide as much data as it can.
-rw-r--r--zlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zlib.h b/zlib.h
index d85d7c2..6728d89 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1174,7 +1174,9 @@ ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
1174 1174
1175 uncompress returns Z_OK if success, Z_MEM_ERROR if there was not 1175 uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
1176 enough memory, Z_BUF_ERROR if there was not enough room in the output 1176 enough memory, Z_BUF_ERROR if there was not enough room in the output
1177 buffer, or Z_DATA_ERROR if the input data was corrupted or incomplete. 1177 buffer, or Z_DATA_ERROR if the input data was corrupted or incomplete. In
1178 the case where there is not enough room, uncompress() will fill the output
1179 buffer with the uncompressed data up to that point.
1178*/ 1180*/
1179 1181
1180 /* gzip file access functions */ 1182 /* gzip file access functions */