December 2005
Beginner to intermediate
618 pages
20h 19m
English
wmemchr
Searches a memory block for a given wide character value
#include <wchar.h> wchar_t *wmemchr( const wchar_t *buffer, wchar_twc, size_tn);
The wmemchr() function
searches for a wide character with the value of
wc in a buffer of
n wide characters beginning at the
address in the pointer argument buffer.
The function returns a pointer to the first occurrence of the
specified wide character in the buffer, or a null pointer if the
wide character does not occur within the specified number of wide
characters.
See the example for wmemcpy() in this
chapter.
Read now
Unlock full access