man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2014
 
 

iconv.h(3HEAD)

Name

iconv.h, iconv - codeset conversion facility

Synopsis

#include <iconv.h> 

Description

The <iconv.h> header defines the following type:

iconv_t

Identifies the conversion from one codeset to another.

The following symbolic constants are defined as possible values for an operation request in query or setting of the iconv code conversion behavior of the current conversion:

ICONV_GET_CONVERSION_BEHAVIOR
ICONV_GET_DISCARD_ILSEQ
ICONV_GET_TRANSLITERATE
ICONV_IGNORE_NULL
ICONV_REPLACE_INVALID
ICONV_SET_CONVERSION_BEHAVIOR
ICONV_SET_DISCARD_ILSEQ
ICONV_SET_TRANSLITERATE
ICONV_TRIVIALP

The following symbolic constants are defined, zero or more of which can be bitwise-inclusively OR'ed together to form the conversion behavior settings for some of the above operation requests:

ICONV_CONV_ILLEGAL_DISCARD
ICONV_CONV_ILLEGAL_REPLACE_HEX
ICONV_CONV_ILLEGAL_RESTORE_HEX
ICONV_CONV_NON_IDENTICAL_DISCARD
ICONV_CONV_NON_IDENTICAL_REPLACE_HEX
ICONV_CONV_NON_IDENTICAL_RESTORE_HEX
ICONV_CONV_NON_IDENTICAL_TRANSLITERATE

For more information on the above symbolic constants, see iconv(3C), iconvctl(C), iconv_open(3C), and iconvstr (3C).

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See also

iconv(3C), iconv_close(3C) , iconv_open(3C), iconvctl(C), iconvstr(3C), attributes(5) , standards(5)