1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
11 .TH WCSSPN 3 2021-03-22 "Linux man-pages (unreleased)"
13 wcsspn \- advance in a wide-character string, skipping
14 any of a set of wide characters
17 .RI ( libc ", " \-lc )
22 .BI "size_t wcsspn(const wchar_t *" wcs ", const wchar_t *" accept );
27 function is the wide-character equivalent of the
30 It determines the length of the longest initial segment of
32 which consists entirely of wide-characters listed in
35 words, it searches for the first occurrence in the wide-character string
37 of a wide-character not contained in the wide-character string
42 function returns the number of
43 wide characters in the longest
46 which consists entirely of wide-characters listed
49 In other words, it returns the position of the first
50 occurrence in the wide-character string
52 of a wide-character not
53 contained in the wide-character string
59 For an explanation of the terms used in this section, see
67 Interface Attribute Value
70 T} Thread safety MT-Safe
76 POSIX.1-2001, POSIX.1-2008, C99.