blob: a6af26f47792c7b16405ecd572767ee665737a4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.
|