wctrans

Defined in header <wctype.h> wctrans_t wctrans( const char* str ); (since C95) Constructs a value of type wctrans_t that describes a LC_CTYPE category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as "tojhira" or "tojkana". Parameters str - C string holding the name of the desired mapping. The following values of str are supported in all C locales: Value of str Effect "toupper" identifies the mapping use

wcstok

Defined in header <wchar.h> (1) wchar_t* wcstok( wchar_t* str, const wchar_t* delim, wchar_t **ptr ); (since C95) (until C99) wchar_t *wcstok(wchar_t * restrict str, const wchar_t * restrict delim, wchar_t **restrict ptr); (since C99) wchar_t *wcstok_s( wchar_t *restrict str, rsize_t *restrict strmax, const wchar_t *restrict delim, wchar_t **restrict ptr); (2) (since C11) 1) Finds the next token in a null-terminated wide strin

wcstoimax

Defined in header <inttypes.h> intmax_t wcstoimax( const wchar_t *restrict nptr, wchar_t **restrict endptr, int base ); (since C99) uintmax_t wcstoumax( const wchar_t *restrict nptr, wchar_t **restrict endptr, int base ); (since C99) Interprets an unsigned integer value in a wide string pointed to by nptr. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found,

wcstol

Defined in header <cwchar> long wcstol( const wchar_t* str, wchar_t** str_end, int base ); (since C95) long long wcstoll( const wchar_t* str, wchar_t** str_end, int base ); (since C99) Interprets an integer value in a wide string pointed to by str. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n (where n=base) integer number

wcstof

Defined in header <wchar.h> float wcstof( const wchar_t* str, wchar_t** str_end ); (since C99) double wcstod( const wchar_t* str, wchar_t** str_end ); (since C95) long double wcstold( const wchar_t* str, wchar_t** str_end ); (since C99) Interprets a floating point value in a wide string pointed to by str. Function discards any whitespace characters (as determined by std::isspace()) until first non-whitespace character is found. Then it takes as many c

wcsstr

Defined in header <wchar.h> wchar_t* wcsstr( const wchar_t* dest, const wchar_t* src ); (since C95) Finds the first occurrence of the wide string src in the wide string pointed to by dest. The terminating null characters are not compared. Parameters dest - pointer to the null-terminated wide string to examine src - pointer to the null-terminated wide string to search for Return value Pointer to the first character of the found substring in dest, or NULL

wcsrtombs

Defined in header <wchar.h> size_t wcsrtombs( char *dst, const wchar_t **src, size_t len, mbstate_t* ps ) (1) (since C95) errno_t wcsrtombs_s( size_t *restrict retval, char *restrict dst, rsize_t dstsz, const wchar_t **restrict src, rsize_t len, mbstate_t *restrict ps); (2) (since C11) 1) Converts a sequence of wide characters from the array whose first element is pointed to by *src to its narrow multibyte representation that begins in the conver

wcsrchr

Defined in header <wchar.h> wchar_t* wcsrchr( const wchar_t* str, wchar_t ch ); (since C95) Finds the last occurrence of the wide character ch in the wide string pointed to by str. Parameters str - pointer to the null-terminated wide string to be analyzed ch - wide character to search for Return value Pointer to the found character in str, or NULL if no such character is found. Example References C11 standard (ISO/IEC 9899:2011): 7.29.4.5.4 The w

wcsspn

Defined in header <wchar.h> size_t wcsspn( const wchar_t* dest, const wchar_t* src ); (since C95) Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters found in wide string pointed to by src. Parameters dest - pointer to the null-terminated wide string to be analyzed src - pointer to the null-terminated wide string that contains the characters to search for Return value The length of

wcsncpy

Defined in header <wchar.h> (1) wchar_t* wcsncpy( wchar_t* dest, const wchar_t* src, size_t count ); (since C95) (until C99) wchar_t *wcsncpy(wchar_t *restrict dest, const wchar_t *restrict src, size_t n); (since C99) errno_t wcsncpy_s( wchar_t *restrict dest, rsize_t destsz, const wchar_t *restrict src, rsize_t n); (2) (since C11) 1) Copies at most count characters of the wide string pointed to by src (including the terminating null wide cha