|
|
#include <wchar.h>size_t wcslen(const wchar_t *ws); size_t wcscspn(const wchar_t *ws1, const wchar_t *ws2); size_t wcsspn(const wchar_t *ws1, const wchar_t *ws2);
wcsspn(S-osr5) scans the wide character string pointed to by ws1, and finds the largest initial segment whose members are restricted to wide-character codes from the string pointed to by ws2. The number of wide characters in this segment is returned.
wcscspn(S-osr5) scans the wide character string pointed to by ws1, and finds the largest initial segment complementary to string ws2, i.e., none of the segment members is from the wide character string pointed to by ws2. The number of wide characters in this segment is returned.
The value of errno is undefined.