HP-UX 11i June 2002 Release Notes
New and Changed Internationalization Features
Multibyte Support Extension and Unix98 Support
Chapter 17
308
mbsrtowcs()
mbsrtowcs() converts a character string to a wide-character string. Note that the
behavior of this function is affected by the LC_CTYPE category of the current locale.
towctrans()
towctrans() is provided for character transliteration. The current setting of the
LC_CTYPE category should be the same as during the call to wctrans()-.
vfwprintf(), vswprintf(), vwprintf()
These APIs are provided for printing wide-character formatted output of a stdarg
argument. They are similar to fwprintf (3C) except that instead of being called with a
variable number of arguments, they are called with an argument list as defined by
<stdarg.h>.
wcrtomb()
wcrtomb() converts a wide-character to a multibyte character. It determines the number
of bytes needed to represent the character corresponding to the wide-character code
whose value is specified by the second argument.
wcsrtombs()
wcsrtombs() converts a wide-character string to a character string. Note that the
behavior of this function is affected by the LC_CTYPE category of the current locale.
wcsstr()
wcsstr() finds a substring in a wide-character string. Note that the behavior of this
function is affected by the LC_CTYPE category of the current locale.
wctob()
wctob() converts wide-character to single-byte.
wctrans
wctrans() defines character mapping in the current locale. Note that the values
returned by wctrans() are valid until a call to setlocale() that modifies the category
LC_CTYPE.
wmemchr(), wmemcmp(), wmemcpy(), wmemmove(), wmemset()
These APIs operate with wide-character in memory areas:
— wmemchr() finds a wide-character in a memory array.
— wmemcmp() compares wide-characters in memory.
— wmemcpy() copies wide-chracter in memory.
— wmemmove() copies wide-characters in memory with overlapping areas.
— wmemset() sets wide-characters in memory.
Modified Interfaces
The following APIs may have a change in behavior or a parameter type change that
could affect existing HP-UX code when the Unix98 support is selected: