From c857f9d7ef06ed53b4e4e81d4844e706e6da426d Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 11 Nov 2018 15:50:35 -0500 Subject: Separate out compressBound.3 --- compress.3 | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'compress.3') 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 -- cgit 1.4.1