#include <string.h>
#include <locale.h>
#include <stdlib.h>

/*
 * The following example uses the wcspbrk subroutine to locate the
 * first occurrence of several wide characters in a wide character
 * string.
 */ 
int main(int argc, char **argv) {
    wchar_t *pwcs1, *pwcs2, *pws;
 
    setlocale(LC_ALL, "");
 
    /*
     * Let pwcs1 point to a wide character null terminated string.
     * Let pwcs2 be initialized to the wide character string
     * that contains wide characters to search for.
     */
    pws = wcspbrk(pwcs1, pwcs2);
 
    if (pws == (wchar_t *)NULL) {
        /* No wide character from pwcs2 is found in pwcs1 */
    } else {
        /* pws points to the location where a match is found */
    }
}