]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
2 | .\" | |
e4a74ca8 | 3 | .\" SPDX-License-Identifier: GPL-2.0-or-later |
fea681da MK |
4 | .\" |
5 | .\" References consulted: | |
6 | .\" GNU glibc-2 source code and manual | |
008f1ecc | 7 | .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html |
fea681da | 8 | .\" |
45186a5d | 9 | .TH ICONV_CLOSE 3 2021-03-22 "Linux man-pages (unreleased)" |
fea681da MK |
10 | .SH NAME |
11 | iconv_close \- deallocate descriptor for character set conversion | |
4508f8a0 AC |
12 | .SH LIBRARY |
13 | Standard C library | |
8fc3b2cf | 14 | .RI ( libc ", " \-lc ) |
fea681da MK |
15 | .SH SYNOPSIS |
16 | .nf | |
17 | .B #include <iconv.h> | |
68e4db0a | 18 | .PP |
fea681da MK |
19 | .BI "int iconv_close(iconv_t " cd ); |
20 | .fi | |
21 | .SH DESCRIPTION | |
60a90ecd MK |
22 | The |
23 | .BR iconv_close () | |
c6fa0841 MK |
24 | function deallocates a conversion descriptor |
25 | .I cd | |
60a90ecd | 26 | previously allocated using |
7a056410 | 27 | .BR iconv_open (3). |
47297adb | 28 | .SH RETURN VALUE |
7a6227d3 | 29 | On success, |
60a90ecd | 30 | .BR iconv_close () |
7a6227d3 | 31 | returns 0; otherwise, it returns \-1 and sets |
fea681da | 32 | .I errno |
7a6227d3 | 33 | to indicate the error. |
3fd4929b MK |
34 | .SH VERSIONS |
35 | This function is available in glibc since version 2.1. | |
9af22d9e ZL |
36 | .SH ATTRIBUTES |
37 | For an explanation of the terms used in this section, see | |
38 | .BR attributes (7). | |
c466875e MK |
39 | .ad l |
40 | .nh | |
9af22d9e ZL |
41 | .TS |
42 | allbox; | |
c466875e | 43 | lbx lb lb |
9af22d9e ZL |
44 | l l l. |
45 | Interface Attribute Value | |
46 | T{ | |
47 | .BR iconv_close () | |
48 | T} Thread safety MT-Safe | |
49 | .TE | |
c466875e MK |
50 | .hy |
51 | .ad | |
847e0d88 | 52 | .sp 1 |
3113c7f3 | 53 | .SH STANDARDS |
d3af28aa | 54 | POSIX.1-2001, POSIX.1-2008, SUSv2. |
47297adb | 55 | .SH SEE ALSO |
fea681da MK |
56 | .BR iconv (3), |
57 | .BR iconv_open (3) |