summary refs log tree commit diff
path: root/doc/zlib/gzputs.3
blob: f5d1fd84a629018a4e55e9f683fb4a140eac6efd (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.Dd January 15, 2017
.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.
.
.Sh SEE ALSO
.Xr gzerror 3 ,
.Xr gzopen 3 ,
.Xr gzputc 3 ,
.Xr gzwrite 3
.
.Sh HISTORY
This manual page was converted from
.In zlib.h
to mdoc format by
.An C. McEnroe Aq Mt june@causal.agency .
.
.Sh AUTHORS
.An Jean-loup Gailly Aq Mt jloup@gzip.org
.An Mark Adler Aq Mt madler@alumni.caltech.edu
le?id=5e57cb24fca398b1a8cbceb84d9e9649785459d2&follow=1'>Makefile: add doc-related targetsLars Hjemli