iconv.h man page

Prolog

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

Synopsis

#include <iconv.h>

Description

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

iconv_t
Identifies the conversion from one codeset to another.
size_t
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

<sys_types.h>

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

Info

2013 IEEE/The Open Group POSIX Programmer's Manual