Locates the first occurrence of a specified character in a wide-character string.
#include <wchar.h>
wchar_t *wmemchr (
const wchar_t *ws,
wchar_t wc,
size_t n);
(IN) Points to the wide-character string containing characters for which to search.
(IN) Specifies the wide character for which to search.
(IN) Specifies the number of wide characters to search.
Returns a pointer to the located wide character or a NULL pointer if the wide character does not occur in the string.
The wmemchr function locates the first occurrence of wc in the string pointed to by ws. The null-terminating character is considered to be part of the string.