Standard C++ Library Reference ISO/IEC (VERSION3)
The function compares two wide strings, s1 and s2, using a comparison rule that depends on the current
locale. If s1 compares greater than s2 by this rule, the function returns a positive number. If the two wide
strings compare equal, it returns zero. Otherwise, it returns a negative number.
wcscpy
wchar_t *wcscpy(wchar_t *s1, const wchar_t *s2);
The function copies the wide string s2, including its terminating null wide character, to successive
elements of the array whose first element has the address s1. It returns s1.
wcscspn
size_t wcscspn(const wchar_t *s1, const wchar_t *s2);
The function searches for the first element s1[i] in the wide string s1 that equals any one of the elements
of the wide string s2 and returns i. Each terminating null wide character is considered part of its wide
string.
wcsftime
size_t wcsftime(wchar_t *s, size_t maxsize,
const wchar_t *format, const struct tm *timeptr);
The function generates formatted text, under the control of the format format and the values stored in the
time structure *tptr. It stores each generated wide character in successive locations of the array object of
size n whose first element has the address s. The function then stores a null wide character in the next
location of the array. It returns x, the number of wide characters generated, if x < n; otherwise, it returns
zero, and the values stored in the array are indeterminate.
For each wide character other than % in the format, the function stores that wide character in the array
object. Each occurrence of % followed by another character in the format is a conversion specifier. For
each conversion specifier, the function stores a replacement wide character sequence. Conversion specifiers
are the same as for the function strftime. The current locale category LC_TIME can affect these
replacement character sequences.
wcslen
size_t wcslen(const wchar_t *s);
The function returns the number of wide characters in the wide string s, not including its terminating null
wide character.
wcsncat
wchar_t *wcsncat(wchar_t *s1, const wchar_t *s2,
size_t n);
The function copies the wide string s2, not including its terminating null wide character, to successive