wcsspn(3C)


wcsspn -- obtain the length of a wide substring

Synopsis

#include <wchar.h>

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

Description

wcsspn returns the length of the initial segment of the wide string ws1, which consists entirely of the wide characters from the wide string ws2.

Return values

wcsspn returns the length of the segment.

References

wchar(5), wcscspn(3C)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004