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 wcscspn 3 (date) "Linux man-pages (unreleased)"
14 wcscspn \- search a wide-character string for any of a set of wide characters
17 .RI ( libc ", " \-lc )
22 .BI "size_t wcscspn(const wchar_t *" wcs ", const wchar_t *" reject );
27 function is the wide-character equivalent
31 It determines the length of the longest initial segment of
33 which consists entirely of wide-characters not listed in
36 other words, it searches for the first occurrence in the wide-character
39 of any of the characters in the wide-character string
44 function returns the number of
45 wide characters in the longest
48 which consists entirely of wide-characters not
51 In other words, it returns the position of the first
52 occurrence in the wide-character string
54 of any of the characters in
55 the wide-character string
61 For an explanation of the terms used in this section, see
67 Interface Attribute Value
72 T} Thread safety MT-Safe