~alex-sergeyev/htmldoc/trunk

« back to all changes in this revision

Viewing changes to zlib/uncompr.c

  • Committer: mike
  • Date: 2010-05-03 17:45:06 UTC
  • Revision ID: svn-v4:d512abc9-c3ee-0310-a016-ca57acef63f3:trunk:1666
Update zlib to 1.2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
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
3
 * For conditions of distribution and use, see copyright notice in zlib.h
4
4
 */
5
5
 
16
16
   been saved previously by the compressor and transmitted to the decompressor
17
17
   by some mechanism outside the scope of this compression library.)
18
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
20
     uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
23
21
   enough memory, Z_BUF_ERROR if there was not enough room in the output