OpenBSD manual page server

Manual Page Search Parameters

WCSSPN(3) Library Functions Manual WCSSPN(3)

wcsspnspan a wide string

#include <wchar.h>

wcsspn(const wchar_t *s, const wchar_t *charset);

The () function spans the initial part of the wide string s as long as the wide characters from s occur in the wide string charset.

The wcsspn() function returns the number of wide characters spanned.

strspn(3), wcschr(3), wcscspn(3), wcspbrk(3), wcsrchr(3), wcsstr(3), wcstok(3), wmemchr(3)

The wcsspn() function conforms to ISO/IEC 9899:1999 (“ISO C99”) and was first introduced in ISO/IEC 9899/AMD1:1995 (“ISO C90, Amendment 1”).

The wcsspn() function was ported from NetBSD and first appeared in OpenBSD 3.8.

June 5, 2013 OpenBSD-current