1WCSPBRK(3) Linux Programmer's Manual WCSPBRK(3)
2
3
4
6 wcspbrk - search a wide-character string for any of a set of wide char‐
7 acters
8
10 #include <wchar.h>
11
12 wchar_t *wcspbrk(const wchar_t *wcs, const wchar_t *accept);
13
15 The wcspbrk() function is the wide-character equivalent of the strp‐
16 brk(3) function. It searches for the first occurrence in the wide-
17 character string pointed to by wcs of any of the characters in the
18 wide-character string pointed to by accept.
19
21 The wcspbrk() function returns a pointer to the first occurrence in wcs
22 of any of the characters listed in accept. If wcs contains none of
23 these characters, NULL is returned.
24
26 For an explanation of the terms used in this section, see
27 attributes(7).
28
29 ┌──────────┬───────────────┬─────────┐
30 │Interface │ Attribute │ Value │
31 ├──────────┼───────────────┼─────────┤
32 │wcspbrk() │ Thread safety │ MT-Safe │
33 └──────────┴───────────────┴─────────┘
35 POSIX.1-2001, POSIX.1-2008, C99.
36
38 strpbrk(3), wcschr(3), wcscspn(3)
39
41 This page is part of release 5.04 of the Linux man-pages project. A
42 description of the project, information about reporting bugs, and the
43 latest version of this page, can be found at
44 https://www.kernel.org/doc/man-pages/.
45
46
47
48GNU 2015-08-08 WCSPBRK(3)