Namespaces
Variants
Views
Actions

wmemchr

From cppreference.com
< c‎ | string‎ | wide
Revision as of 15:21, 13 December 2012 by P12 (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <wchar.h>
</td>

<td></td> <td></td> <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td class="t-dcl-nopad">
wchar_t* wmemchr( const wchar_t* ptr, wchar_t ch, size_t count );
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Locates the first occurrence of wide character ch in the initial count wide characters of the object pointed to by ptr.

Contents

Parameters

ptr - pointer to the object to be examined
ch - wide character to search for
count - number of characters to examine

Return value

Pointer to the location of the character, or NULL if no such character is found.

Example

See also

Template:c/string/wide/dcl list wcschr
C++ documentation for wmemchr