7.24.4.5.8 The wmemchr function

Synopsis

1

#include <wchar.h>
wchar_t *wmemchr(const wchar_t *s, wchar_t c,
     size_t n);

Description

2

The wmemchr function locates the first occurrence of c in the initial n wide characters of the object pointed to by s.

Returns

3

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.