WCSSPN(3) Library Functions Manual WCSSPN(3)
NAME
wcsspn — get
length of a wide substring
SYNOPSIS
#include <wchar.h> size_t wcsspn(const wchar_t *ws1, const wchar_t *ws2);
DESCRIPTION
The wcsspn() function computes the length of the maximum initial segment of the wide-character string pointed to by ws1 which consists entirely of wide-character codes from the wide-character string pointed to by ws2 .
RETURN VALUE
The wcsspn() function returns the length ws1 ; no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
wcscspn(3) , <wchar.h> .
DERIVATION
Derived from the MSE working draft.
February 1997 posix.fail