The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 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(), <wchar.h>.

DERIVATION

Derived from the MSE working draft.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]