1iconv_close(3) Library Functions Manual iconv_close(3)
2
3
4
6 iconv_close - deallocate descriptor for character set conversion
7
9 Standard C library (libc, -lc)
10
12 #include <iconv.h>
13
14 int iconv_close(iconv_t cd);
15
17 The iconv_close() function deallocates a conversion descriptor cd pre‐
18 viously allocated using iconv_open(3).
19
21 On success, iconv_close() returns 0; otherwise, it returns -1 and sets
22 errno to indicate the error.
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-2008.
36
38 glibc 2.1. POSIX.1-2001.
39
41 iconv(3), iconv_open(3)
42
43
44
45Linux man-pages 6.05 2023-07-20 iconv_close(3)