libwchar2 0.0.10
wcscspn manual

wcscspn - search a wide-character string for any of a set of wide characters

The wcscspn() function is the wide-character equivalent of the strc- spn(3) function. It determines the length of the longest initial seg- ment of wcs which consists entirely of wide-characters not listed in reject. In other words, it searches for the first occurrence in the wide-character string wcs of any of the characters in the wide-charac- ter string reject.

Return Value

The wcscspn() function returns the number of wide characters in the longest initial segment of wcs which consists entirely of wide-charac- ters not listed in reject. In other words, it returns the position of the first occurrence in the wide-character string wcs of any of the characters in the wide-character string reject, or wcslen(wcs) if there is none.

LibWchar2 information
Version
libwchar2 0.0.10
Date
Wed Aug 22 2018
Author
(c) PS 2018-2018
Manual author and license