C Library Functions: Wide-Character String Operations

Function Header File Description
mblen stdlib.h Determines length of string.
mbrlen stdlib.h Determines length of a multibyte character.
mbsinit wchar.h Tests an object for the initial state.
mbsrtowcs wchar.h Converts multibyte string to wide-character string.
mbstowcs stdlib.h Converts multibyte string to wide-character string.
wcscat wcstr.h Concatenates wchar_t strings.
wcschr wcstr.h Searches wchar_t string for character.
wcscmp wcstr.h Compares wchar_t strings.
wcscoll wchar.h Compares two wide character strings based on collating elements for the current locale.
wcscpy wcstr.h Copies wchar_t string.
wcscspn wcstr.h Searches wchar_t string for characters.
wcslen wcstr.h Finds length of wchar_t string.
wcsncat wcstr.h Concatenates wchar_t string segment.
wcsncmp wcstr.h Compares wchar_t string segments.
wcsncpy wcstr.h Copies wchar_t string segments.
wcspbrk wcstr.h Locates wchar_t characters in string.
wcsspn wcstr.h Finds number of wchar_t characters.
wcsrchr wcstr.h Locates wchar_t character in string.
wcsrtombs wchar.h Converts wide-character string to multibyte string.
wcsstr wchar.h Locates the first occurrence of a wide character string within another wide character string.
wcstok wchar.h Locates a specified token in a wide character string.
wcstombs stdlib.h Converts wide-character string to multibyte string.
wcswcs wcstr.h Locates a wchar_t string in another wchar_t string.
wcswidth wchar.h Determines the number of display positions required to display a given wide character string.
wcsxfrm wchar.h Transforms wide character strings according to the current locale.


Alphabetical Listing of IBM C and C++ Compilers Functions and Macros