Name
wmemchr function — Searches for a wide character
Synopsis
const wchar_t* wmemchr(const wchar_t* mem, wchar_t c, size_t n) wchar_t* wmemchr( wchar_t* mem, wchar_t c, size_t n)
The wmemchr
function
searches the memory that mem
points to, of size n
wide
characters, for the wide character whose value is c
. The return value is a pointer in the
mem
array that points to the
first occurrence of c
, or a null
pointer if c
is not present in
the first n
wide characters of
mem
.
See Also
wcschr function,
find
in <algorithm>
, memchr
in <cstring>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.