]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iconv_close.3
ctime.3: wfix
[thirdparty/man-pages.git] / man3 / iconv_close.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
89e3ffe9 3.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
fea681da
MK
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
fe382ebf 8.\" %%%LICENSE_END
fea681da
MK
9.\"
10.\" References consulted:
11.\" GNU glibc-2 source code and manual
008f1ecc 12.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da 13.\"
4b8c67d9 14.TH ICONV_CLOSE 3 2017-09-15 "GNU" "Linux Programmer's Manual"
fea681da
MK
15.SH NAME
16iconv_close \- deallocate descriptor for character set conversion
17.SH SYNOPSIS
18.nf
19.B #include <iconv.h>
68e4db0a 20.PP
fea681da
MK
21.BI "int iconv_close(iconv_t " cd );
22.fi
23.SH DESCRIPTION
60a90ecd
MK
24The
25.BR iconv_close ()
c6fa0841
MK
26function deallocates a conversion descriptor
27.I cd
60a90ecd 28previously allocated using
7a056410 29.BR iconv_open (3).
47297adb 30.SH RETURN VALUE
60a90ecd
MK
31When successful, the
32.BR iconv_close ()
33function returns 0.
fea681da
MK
34In case of error, it sets
35.I errno
36and returns \-1.
3fd4929b
MK
37.SH VERSIONS
38This function is available in glibc since version 2.1.
9af22d9e
ZL
39.SH ATTRIBUTES
40For an explanation of the terms used in this section, see
41.BR attributes (7).
42.TS
43allbox;
44lb lb lb
45l l l.
46Interface Attribute Value
47T{
48.BR iconv_close ()
49T} Thread safety MT-Safe
50.TE
847e0d88 51.sp 1
47297adb 52.SH CONFORMING TO
d3af28aa 53POSIX.1-2001, POSIX.1-2008, SUSv2.
47297adb 54.SH SEE ALSO
fea681da
MK
55.BR iconv (3),
56.BR iconv_open (3)