wcsspn()

get length of wide character substring 

Function


SYNOPSIS

#include <wchar.h>

size_t wcsspn(const wchar_t *ws1, const wchar_t *ws2);


DESCRIPTION

The wcsspn() function determines the length of the maximum initial substring of ws1 which consists entirely of characters in ws2.


PARAMETERS

ws1 

Is the null-terminated string to search.

ws2 

Is a null-terminated string representing a set of characters.


RETURN VALUES

The wcsspn() function returns the length of the substring of ws1 that consists entirely of characters specified in ws2. If ws1 begins with a string not in ws2, 0 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:
wcsncat(), wcsncmp(), wcsncpy(), wcsrchr()


PTC MKS Toolkit 10.5 Documentation Build 40.