2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH wcsspn 3 (date) "Linux man-pages (unreleased)"
14 wcsspn \- get length of a prefix wide-character substring
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
65 Interface Attribute Value
70 T} Thread safety MT-Safe