1ICONV_CLOSE(3) Linux Programmer's Manual ICONV_CLOSE(3)
2
3
4
6 iconv_close - deallocate descriptor for character set conversion
7
9 #include <iconv.h>
10
11 int iconv_close(iconv_t cd);
12
14 The iconv_close() function deallocates a conversion descriptor cd pre‐
15 viously allocated using iconv_open(3).
16
18 When successful, the iconv_close() function returns 0. In case of
19 error, it sets errno and returns -1.
20
22 This function is available in glibc since version 2.1.
23
25 For an explanation of the terms used in this section, see
26 attributes(7).
27
28 ┌──────────────┬───────────────┬─────────┐
29 │Interface │ Attribute │ Value │
30 ├──────────────┼───────────────┼─────────┤
31 │iconv_close() │ Thread safety │ MT-Safe │
32 └──────────────┴───────────────┴─────────┘
33
35 POSIX.1-2001, POSIX.1-2008, SUSv2.
36
38 iconv(3), iconv_open(3)
39
41 This page is part of release 5.07 of the Linux man-pages project. A
42 description of the project, information about reporting bugs, and the
43 latest version of this page, can be found at
44 https://www.kernel.org/doc/man-pages/.
45
46
47
48GNU 2017-09-15 ICONV_CLOSE(3)