wcscspn()

get length of complementary wide character substring 

Function


SYNOPSIS

#include <wchar.h>

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


DESCRIPTION

The wcscspn() function determines the length of the initial segment of ws1 which consists entirely of characters not found in ws2. Note that there must be a NULL in ws2, since the null-terminating character in ws1 is also searched.


PARAMETERS

ws1 

Is the null-terminated string to search.

ws2 

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


RETURN VALUES

The wcscspn() function returns the index of the first occurrence of a character in ws1 that is part of the character set defined by ws2.


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(), wcsspn()


PTC MKS Toolkit 10.4 Documentation Build 39.