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

wcsncmp

Defined in header <wchar.h> int wcsncmp( const wchar_t* lhs, const wchar_t* rhs, size_t count ); (since C95) Compares at most count wide characters of two null-terminated wide strings. The comparison is done lexicographically. Parameters lhs, rhs - pointers to the null-terminated wide strings to compare count - maximum number of characters to compare Return value Negative value if lhs is less than rhs. ​0​ if lhs is equal to rhs. Positive value if lhs is

wcsncat

Defined in header <wchar.h> (1) wchar_t *wcsncat( wchar_t *dest, const wchar_t *src, size_t count ); (since C95) (until C99) wchar_t *wcsncat( wchar_t *restrict dest, const wchar_t *restrict src, size_t count ); (since C99) errno_t wcsncat_s( wchar_t *restrict dest, rsize_t destsz, const wchar_t *restrict src, rsize_t count ); (2) (since C11) 1) Appends at most count wide characters from the wide string pointed to by src, st

wcslen

Defined in header <wchar.h> size_t wcslen( const wchar_t *str ); (1) (since C95) size_t wcsnlen_s(const wchar_t *str, size_t strsz); (2) (since C11) 1) Returns the length of a wide string, that is the number of non-null wide characters that precede the terminating null wide character. 2) Same as (1), except that the function returns zero if str is a null pointer and returns strsz if the null wide character was not found in the first strsz wide characters of src As a

wcsftime

Defined in header <wchar.h> size_t wcsftime( wchar_t* str, size_t count, const wchar_t* format, tm* time ); (since C95) Converts the date and time information from a given calendar time time to a null-terminated wide character string str according to format string format. Up to count bytes are written. Parameters str - pointer to the first element of the wchar_t array for output count - maximum number of wide characters to write format - pointer to a nul

wcscspn

Defined in header <wchar.h> size_t wcscspn( 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 not 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 leng

wcscpy

Defined in header <wchar.h> (1) wchar_t *wcscpy( wchar_t *dest, const wchar_t *src ); (since C95) (until C99) wchar_t *wcscpy( wchar_t *restrict dest, const wchar_t *restrict src ); (since C99) errno_t wcscpy_s( wchar_t *restrict dest, rsize_t destsz, const wchar_t *restrict src ); (2) (since C11) 1) Copies the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest. The behavior

wcscoll

Defined in header <wchar.h> int wcscoll( const wchar_t *lhs, const wchar_t *rhs ); (since C95) Compares two null-terminated wide strings according to the collation order defined by the LC_COLLATE category of the currently installed locale. Parameters lhs, rhs - pointers to the null-terminated wide strings to compare Return value Negative value if lhs is less than (precedes) rhs. ​0​ if lhs is equal to rhs. Positive value if lhs is greater than (follows) rhs.

wcscmp

Defined in header <wchar.h> int wcscmp( const wchar_t *lhs, const wchar_t *rhs ); (since C95) Compares two null-terminated wide strings lexicographically. The sign of the result is the sign of the difference between the values of the first pair of wide characters that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated wide strings. Parameters lhs, rhs - pointers to the null-terminated wide strings to com

wcschr

Defined in header <wchar.h> wchar_t* strchr( const wchar_t* str, wchar_t ch ); (since C95) Finds the first 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.1 The w