WMEMCHR(3)

NAME
7.1 `wmemchr'--find a wide character in memory

SYNOPSIS
     #include <wchar.h>
     wchar_t    *wmemchr(const wchar_t *S, wchar_t C, size_t N);

DESCRIPTION
The `wmemchr' function locates the first occurrence of C in the initial N wide characters of the object pointed to be S. This function is not affected by locale and all wchar_t values are treated identically. The null wide character and wchar_t values not corresponding to valid characters are not treated specially.
   If N is zero, S must be a valid pointer and the function behaves as if no valid occurrence of C is found.

RETURNS
The `wmemchr' function returns a pointer to the located wide character, or a null pointer if the wide character does not occur in the object.

PORTABILITY
`wmemchr' is ISO/IEC 9899/AMD1:1995 (ISO C).
   No supporting OS subroutines are required.

SEE ALSO
wmemchr is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.