wcschr()

locate character in wide character string 

Function


SYNOPSIS

#include <wchar.h>

wchar_t *wcschr(const wchar_t *ws, wchar_t wc);


DESCRIPTION

The wcschr() function finds the first occurrence of wc in the string pointed to by ws. The value of wc must be a wide character code which corresponds to a valid character it the current locale and must be represented as a wchar_t. The null-terminating character of ws is also included in the search.


PARAMETERS

ws 

Is the null-terminated string to be searched.

wc 

Is the character to be located.


RETURN VALUES

The wcschr() function returns a pointer to the first occurrence of wc in ws, if successful. If wc is not found in ws, NULL is returned.


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:
wcscspn(), wcsncat(), wcsncmp(), wcsncpy(), wcspbrk(), wcsrchr(), wcsstr()


PTC MKS Toolkit 10.4 Documentation Build 39.