From 3b0932f663a317e32104aff0695ced82ad3b9021 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 13 Nov 2018 15:53:41 -0500 Subject: Add gzputc.3 --- gzputc.3 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gzputc.3 (limited to 'gzputc.3') diff --git a/gzputc.3 b/gzputc.3 new file mode 100644 index 0000000..a6af26f --- /dev/null +++ b/gzputc.3 @@ -0,0 +1,27 @@ +.Dd November 13, 2018 +.Dt GZPUTC 3 +.Os +. +.Sh NAME +.Nm gzputc +.Nd write character to compressed file +. +.Sh LIBRARY +.Lb libz +. +.Sh SYNOPSIS +.In zlib.h +.Ft int +.Fn gzputc "gzFile file" "int c" +. +.Sh DESCRIPTION +Writes +.Fa c , +converted to an +.Vt unsigned char , +into the compressed file. +. +.Sh RETURN VALUES +.Fn gzputc +returns the value that was written, +or -1 in case of error. -- cgit 1.4.1