1iconv.h(0P) POSIX Programmer's Manual iconv.h(0P)
2
3
4
6 This manual page is part of the POSIX Programmer's Manual. The Linux
7 implementation of this interface may differ (consult the corresponding
8 Linux manual page for details of Linux behavior), or the interface may
9 not be implemented on Linux.
10
11
13 iconv.h — codeset conversion facility
14
16 #include <iconv.h>
17
19 The <iconv.h> header shall define the following types:
20
21 iconv_t Identifies the conversion from one codeset to another.
22
23 size_t As described in <sys/types.h>.
24
25 The following shall be declared as functions and may also be defined as
26 macros. Function prototypes shall be provided.
27
28 size_t iconv(iconv_t, char **restrict, size_t *restrict,
29 char **restrict, size_t *restrict);
30 int iconv_close(iconv_t);
31 iconv_t iconv_open(const char *, const char *);
32
33 The following sections are informative.
34
36 None.
37
39 None.
40
42 None.
43
45 <sys_types.h>
46
47 The System Interfaces volume of POSIX.1‐2008, iconv(), iconv_close(),
48 iconv_open()
49
51 Portions of this text are reprinted and reproduced in electronic form
52 from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
53 -- Portable Operating System Interface (POSIX), The Open Group Base
54 Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
55 cal and Electronics Engineers, Inc and The Open Group. (This is
56 POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
57 event of any discrepancy between this version and the original IEEE and
58 The Open Group Standard, the original IEEE and The Open Group Standard
59 is the referee document. The original Standard can be obtained online
60 at http://www.unix.org/online.html .
61
62 Any typographical or formatting errors that appear in this page are
63 most likely to have been introduced during the conversion of the source
64 files to man page format. To report such errors, see https://www.ker‐
65 nel.org/doc/man-pages/reporting_bugs.html .
66
67
68
69IEEE/The Open Group 2013 iconv.h(0P)