diff options
Diffstat (limited to 'uncompr.c')
-rw-r--r-- | uncompr.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* uncompr.c -- decompress a memory buffer | 1 | /* uncompr.c -- decompress a memory buffer |
2 | * Copyright (C) 1995-2003 Jean-loup Gailly. | 2 | * Copyright (C) 1995-2003, 2010 Jean-loup Gailly. |
3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -16,8 +16,6 @@ | |||
16 | been saved previously by the compressor and transmitted to the decompressor | 16 | been saved previously by the compressor and transmitted to the decompressor |
17 | by some mechanism outside the scope of this compression library.) | 17 | by some mechanism outside the scope of this compression library.) |
18 | Upon exit, destLen is the actual size of the compressed buffer. | 18 | Upon exit, destLen is the actual size of the compressed buffer. |
19 | This function can be used to decompress a whole file at once if the | ||
20 | input file is mmap'ed. | ||
21 | 19 | ||
22 | uncompress returns Z_OK if success, Z_MEM_ERROR if there was not | 20 | uncompress returns Z_OK if success, Z_MEM_ERROR if there was not |
23 | enough memory, Z_BUF_ERROR if there was not enough room in the output | 21 | enough memory, Z_BUF_ERROR if there was not enough room in the output |