iconv.h man page


This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

iconv.h — codeset conversion facility


#include <iconv.h>


The <iconv.h> header shall define the following types:

Identifies the conversion from one codeset to another.
As described in <sys/types.h>.

The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.

size_t  iconv(iconv_t, char **restrict, size_t *restrict,
            char **restrict, size_t *restrict);
int     iconv_close(iconv_t);
iconv_t iconv_open(const char *, const char *);

The following sections are informative.

See Also


The System Interfaces volume of POSIX.1‐2008, iconv(), iconv_close(), iconv_open()


2013 IEEE/The Open Group POSIX Programmer's Manual