wmemchr()

find a wide character in memory 

Function


SYNOPSIS

#include <wchar.h>

wchar_t *wmemchr(const wchar_t *ws, wchar_t wc, size_t n);


DESCRIPTION

The wmemchr() function locates the first occurrence of the specified wide character in the specified initial number of wide characters of the specified object. This function is not affected by locale and all wchar_t values are treated identically. The null wide character and wchar_t values not corresponding to valid characters are not treated specially.


PARAMETERS

ws 

Is the region in which wc is to be located.

wc 

Is the wide character to locate.

n 

Is the number of wide characters to scan.


RETURN VALUES

The wmemchr() function returns a pointer to the located wide character, or a null pointer if the wide character does not occur in the first n wide characters in the object.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
wmemcmp(), wmemcpy(), wmemmove(), wmemset()


PTC MKS Toolkit 10.3 Documentation Build 39.