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

Syntax

#include <wchar.h>

wchar_t *wcspbrk(const wchar_t *ws1, const wchar_t *ws2);

Description

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. 


Null pointer

 if no matching character is found.

Notes

Wide character strings terminated with a null wide character code (\0) are expected as
arguments.

Restriction
This version of the C runtime system only supports 1-byte characters as wide character
codes. They are of type wchar_t (see stddef.h). (End)

See also

wcschr(), wcsrchr(), wchar.h.