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)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.