[Previous] [Contents] [Next]

wcspbrk()

Locate an occurrence of one string inside another

Synopsis:

#include <wchar.h>

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

Library:

libc

Description:

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.

Returns:

NULL
Failure; no character match.
x
Success; a pointer to the located wide character.

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

See also:

"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.


[Previous] [Contents] [Next]