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 On success, iconv_close() returns 0; otherwise, it returns -1 and sets
19 errno to indicate the error.
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 at‐
26 tributes(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.12 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 2021-03-22 ICONV_CLOSE(3)