Penguin
Annotated edit history of wcsspn(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 WCSSPN
2 !!!WCSSPN
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 wcsspn - advance in a wide-character string, skipping any of a set of wide characters
14 !!SYNOPSIS
15
16
17 __#include
18 __''wcs''__, const wchar_t *__''accept''__);
19 __
20 !!DESCRIPTION
21
22
23 The __wcsspn__ function is the wide-character equivalent
24 of the __strspn__ function. It determines the length of
25 the longest initial segment of ''wcs'' which consists
26 entirely of wide-characters listed in ''accept''. In
27 other words, it searches for the first occurrence in the
28 wide-character string ''wcs'' of a wide-character not
29 contained in the wide-character string
30 ''accept''.
31 !!RETURN VALUE
32
33
34 The __wcsspn__ function returns the number of wide
35 characters in the longest initial segment of ''wcs''
36 which consists entirely of wide-characters listed in
37 ''accept''. In other words, it returns the position of
38 the first occurrence in the wide-character string ''wcs''
39 of a wide-character not contained in the wide-character
40 string ''accept'', or ''wcslen(wcs)'' if there is
41 none.
42 !!CONFORMING TO
43
44
45 ISO/ANSI C, UNIX98
46 !!SEE ALSO
47
48
49 strspn(3), wcscspn(3)
50 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.