Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
wcspbrk - Get first occurrence of wide character in wide character string
&pagelevel(4)&pagelevel
Definition | #include <wchar.h> wchar_t *wcspbrk(const wchar_t *ws1, const wchar_t *ws2); wcspbrk searches the wide character string ws1 for the first character that matches any character in the wide character string ws2. The terminating null wide character code (\0) is not considered part of the wide character string ws2.
|
Return val. | Pointer to the first matching character found in ws1 |
| if successful. |
NULL pointer | if not a single match is present. |
Notes | This version of the C runtime system only supports one-byte characters as wide character codes. Wide character strings terminated with the null wide character (\0) are expected as arguments. The following two prototypes of the wcspbrk function are applicable to C++: const wchar_t* wcspbrk(const wchar_t *ws1, const wchar_t *ws2); wchar_t* wcspbrk( wchar_t *ws1, const wchar_t *ws2); |
See also | strpbrk, wcschr, wcsrchr |