Penguin
Annotated edit history of wcscspn(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 WCSCSPN
2 !!!WCSCSPN
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 wcscspn - search a wide-character string for any of a set of wide characters
14 !!SYNOPSIS
15
16
17 __#include
18 __''wcs''__, const wchar_t *__''reject''__);
19 __
20 !!DESCRIPTION
21
22
23 The __wcscspn__ function is the wide-character equivalent
24 of the __strcspn__ function. It determines the length of
25 the longest initial segment of ''wcs'' which consists
26 entirely of wide-characters not listed in ''reject''. In
27 other words, it searches for the first occurrence in the
28 wide-character string ''wcs'' of any of the characters in
29 the wide-character string ''reject''.
30 !!RETURN VALUE
31
32
33 The __wcscspn__ function returns the number of wide
34 characters in the longest initial segment of ''wcs''
35 which consists entirely of wide-characters not listed in
36 ''reject''. In other words, it returns the position of
37 the first occurrence in the wide-character string ''wcs''
38 of any of the characters in the wide-character string
39 ''reject'', or ''wcslen(wcs)'' if there is
40 none.
41 !!CONFORMING TO
42
43
44 ISO/ANSI C, UNIX98
45 !!SEE ALSO
46
47
48 strcspn(3), wcspbrk(3),
49 wcsspn(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.