Find the first wide character in a string that's in a given character set
#include <wchar.h> wchar_t * wcspbrk( const wchar_t * ws1, const wchar_t * ws2 );
- The wide-character string that you want to search.
- The set of wide characters you want to look for.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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.
A pointer to the located character, or NULL if no character from ws2 occurs in ws1.
Last modified: 2013-09-30