about summary refs log tree commit diff homepage
path: root/gzputs.3
blob: ae9a0cd89c2ca6b811d30955ec26fb56b2d8c354 (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
.Dd November 13, 2018
.Dt GZPUTS 3
.Os
.
.Sh NAME
.Nm gzputs
.Nd write string to compressed file
.
.Sh LIBRARY
.Lb libz
.
.Sh SYNOPSIS
.In zlib.h
.Ft int
.Fn gzputs "gzFile file" "const char *s"
.
.Sh DESCRIPTION
Writes the given null-terminated string
to the compressed file,
excluding the terminating null character.
.
.Sh RETURN VALUES
.Fn gzputs
returns the number of characters written,
or -1 in case of error.