1WCSSPN(3)                  Linux Programmer's Manual                 WCSSPN(3)
2
3
4

NAME

6       wcsspn  -  advance in a wide-character string, skipping any of a set of
7       wide characters
8

SYNOPSIS

10       #include <wchar.h>
11
12       size_t wcsspn(const wchar_t *wcs, const wchar_t *accept);
13

DESCRIPTION

15       The wcsspn() function is the wide-character equivalent of the strspn(3)
16       function.   It  determines the length of the longest initial segment of
17       wcs which consists entirely of wide-characters listed  in  accept.   In
18       other words, it searches for the first occurrence in the wide-character
19       string wcs of a wide-character  not  contained  in  the  wide-character
20       string accept.
21

RETURN VALUE

23       The  wcsspn()  function  returns  the  number of wide characters in the
24       longest initial segment of wcs which consists entirely of  wide-characā€
25       ters  listed in accept.  In other words, it returns the position of the
26       first occurrence in the wide-character string wcs of  a  wide-character
27       not  contained  in  the wide-character string accept, or wcslen(wcs) if
28       there is none.
29

CONFORMING TO

31       C99.
32

SEE ALSO

34       strspn(3), wcscspn(3)
35

COLOPHON

37       This page is part of release 3.25 of the Linux  man-pages  project.   A
38       description  of  the project, and information about reporting bugs, can
39       be found at http://www.kernel.org/doc/man-pages/.
40
41
42
43GNU                               1999-07-25                         WCSSPN(3)
Impressum