Debian Codegraph @

upstream/debian-unstable/man3/iconv_close.3

raw
1 '\" t
2 .\" Copyright, Bruno Haible <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\"
7 .TH iconv_close 3 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 iconv_close \- deallocate descriptor for character set conversion
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <iconv.h>
16 .P
17 .BI "int iconv_close(iconv_t " cd );
18 .fi
19 .SH DESCRIPTION
20 The
21 .BR iconv_close ()
22 function deallocates a conversion descriptor
23 .I cd
24 previously allocated using
25 .BR iconv_open (3).
26 .SH RETURN VALUE
27 On success,
28 .BR iconv_close ()
29 returns 0;
30 otherwise,
31 it returns \-1 and sets
32 .I errno
33 to indicate the error.
34 .SH ATTRIBUTES
35 For an explanation of the terms used in this section, see
36 .BR attributes (7).
37 .TS
38 allbox;
39 lbx lb lb
40 l l l.
41 Interface Attribute Value
42 T{
43 .na
44 .nh
45 .BR iconv_close ()
46 T} Thread safety MT-Safe
47 .TE
48 .SH STANDARDS
49 POSIX.1-2008.
50 .SH HISTORY
51 glibc 2.1.
52 POSIX.1-2001.
53 .SH SEE ALSO
54 .BR iconv (3),
55 .BR iconv_open (3)