diff options
author | June McEnroe <june@causal.agency> | 2018-11-11 15:50:35 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-11 15:50:35 -0500 |
commit | c857f9d7ef06ed53b4e4e81d4844e706e6da426d (patch) | |
tree | 1f6222edbe81cd0b5d13e44bdec157d320bfaa4e /compress.3 | |
parent | Separate out crc32_combine.3 (diff) | |
download | zlib-man-pages-c857f9d7ef06ed53b4e4e81d4844e706e6da426d.tar.gz zlib-man-pages-c857f9d7ef06ed53b4e4e81d4844e706e6da426d.zip |
Separate out compressBound.3
Diffstat (limited to '')
-rw-r--r-- | compress.3 | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/compress.3 b/compress.3 index 799312d..c0e6547 100644 --- a/compress.3 +++ b/compress.3 @@ -4,8 +4,7 @@ . .Sh NAME .Nm compress , -.Nm compress2 , -.Nm compressBound +.Nm compress2 .Nd compress source buffer into destination buffer . .Sh LIBRARY @@ -31,9 +30,6 @@ .Fa "int level" .Fc . -.Ft uLong -.Fn compressBound "uLong sourceLen" -. .Sh DESCRIPTION Compresses the source buffer into the destination buffer. .Fa sourceLen @@ -56,21 +52,6 @@ with a parameter of .Dv Z_DEFAULT_COMPRESSION . . -.Pp -.Fn compressBound -returns an upper bound on the compressed size after -.Fn compress -or -.Fn compress2 -on -.Fa sourceLen -bytes. -It would be used before a -.Fn compress -or -.Fn compress2 -call to allocate the destination buffer. -. .Sh RETURN VALUES .Fn compress and @@ -86,3 +67,6 @@ if there was not enough room in the output buffer, if the .Fa level parameter is invalid. +. +.Sh SEE ALSO +.Xr compressBound 3 |