Locate an occurrence of one string inside another
#include <wchar.h>
wchar_t * wcspbrk( const wchar_t * ws1,
const wchar_t * ws2 );
libc
The wcspbrk() function locates the first occurrence in the string pointed to by ws1 of any wide character from the string pointed to by ws2.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.