iconv.3c (2010 09)
i
iconv(3C) iconv(3C)
export CCOPTS="-Wl,-a,archive
options -Wl,-E -l:libdld.sl"
export LDOPTS="options -E +n -l:libdld.sl"
cc -o outfile source
The option
-Wl,-a,archive
is positionally dependent and should occur at the beginning of the com-
pile line. For optimum compatibility in future releases, you should avoid using archive libc with other
shared libraries except for libdld.sl as needed above.
There is a corner-case situation for multi-byte characters that is not correctly handled by
iconv().If
the last character in the file being converted is an invalid multi-byte character,
iconv() returns [EIN-
VAL] instead of [EILSEQ]. The application can get around this by checking whether EOF is reached or if
this is the last buffer being converted. In this case, [EINVAL] should be treated as [EILSEQ].
AUTHOR
iconv() was developed by HP.
FILES
/usr/lib/nls/iconv/system.config.iconv
System iconv configuration file containing codeset
names supported by the operating system.
/usr/lib/nls/iconv/config.iconv
User customizable iconv configuration file contain-
ing additional codeset names.
/usr/lib/nls/iconv/tables
Directory containing tables used for conversion.
/usr/lib/nls/iconv/methods
Directory containing methods used for conversion.
SEE ALSO
genxlt(1), iconv(1), thread_safety(5).
STANDARDS CONFORMANCE
iconv_open(): XPG4
iconv(): XPG4
iconv_close(): XPG4
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5