VMS Help
CRTL, wmemchr
*Conan The Librarian
|
Locates the first occurrence of a specified wide character in an
array of wide characters.
Format
#include <wchar.h>
wchar_t wmemchr (const wchar_t *s, wchar_t c, size_t n);
The wmemchr function has variants named _wmemchr32 and _wmemchr64
for use with 32-bit and 64-bit pointer sizes, respectively.
s
A pointer to an array of wide characters to be searched.
c
The wide character value to search for.
n
The maximum number of wide characters in the array to be
searched.
The wmemchr function locates the first occurrence of the
specified wide character in the initial n wide characters of
the array pointed to by s.
x A pointer to the first occurrence of the wide
character in the array.
NULL The specified wide character does not occur in
the array.