]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/wcspbrk.3
man*/: ffix (un-bracket tables)
[thirdparty/man-pages.git] / man3 / wcspbrk.3
1 '\" t
2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\"
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\"
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
10 .\" ISO/IEC 9899:1999
11 .\"
12 .TH wcspbrk 3 (date) "Linux man-pages (unreleased)"
13 .SH NAME
14 wcspbrk \- search a wide-character string for any of a set of wide characters
15 .SH LIBRARY
16 Standard C library
17 .RI ( libc ", " \-lc )
18 .SH SYNOPSIS
19 .nf
20 .B #include <wchar.h>
21 .PP
22 .BI "wchar_t *wcspbrk(const wchar_t *" wcs ", const wchar_t *" accept );
23 .fi
24 .SH DESCRIPTION
25 The
26 .BR wcspbrk ()
27 function is the wide-character equivalent
28 of the
29 .BR strpbrk (3)
30 function.
31 It searches for the first occurrence in the wide-character
32 string pointed to by
33 .I wcs
34 of any of the
35 characters in the wide-character
36 string pointed to by
37 .IR accept .
38 .SH RETURN VALUE
39 The
40 .BR wcspbrk ()
41 function returns a pointer to the first occurrence in
42 .I wcs
43 of any of the characters listed in
44 .IR accept .
45 If
46 .I wcs
47 contains none of these characters, NULL is returned.
48 .SH ATTRIBUTES
49 For an explanation of the terms used in this section, see
50 .BR attributes (7).
51 .TS
52 allbox;
53 lbx lb lb
54 l l l.
55 Interface Attribute Value
56 T{
57 .na
58 .nh
59 .BR wcspbrk ()
60 T} Thread safety MT-Safe
61 .TE
62 .sp 1
63 .SH STANDARDS
64 C11, POSIX.1-2008.
65 .SH HISTORY
66 POSIX.1-2001, C99.
67 .SH SEE ALSO
68 .BR strpbrk (3),
69 .BR wcschr (3),
70 .BR wcscspn (3)