Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
wmemchr - search for wide character in a wide character string
&pagelevel(4)&pagelevel
Syntax | #include <wchar.h> wchar_t *wmemchr( const wchar_t *ws, wchar_t *wc, size_t n); |
Description | wmemchr() searches for the first occurrence of the wide character wc in the first n bytes of the wide character string ws and returns a pointer to the desired position in ws if successful.
|
Return val. | Pointer to the position of wc in ws |
| if successful. |
Null pointer | otherwise. |
Notes | This version of the C runtime system only supports 1-byte characters as wide character codes. The following two prototypes are valid in C++ for the function wmemchr() : const wchar_t* wmemchr(const wchar_t *ws, wchar_t *wc, size_t n); wchar_t* wmemchr( wchar_t *ws, wchar_t *wc, size_t n); |
See also | memchr() , wcsstr() , wmemcmp() , wmemcpy()
|