1wcspbrk(3) Library Functions 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 Standard C library (libc, -lc)
11
13 #include <wchar.h>
14
15 wchar_t *wcspbrk(const wchar_t *wcs, const wchar_t *accept);
16
18 The wcspbrk() function is the wide-character equivalent of the strp‐
19 brk(3) function. It searches for the first occurrence in the wide-
20 character string pointed to by wcs of any of the characters in the
21 wide-character string pointed to by accept.
22
24 The wcspbrk() function returns a pointer to the first occurrence in wcs
25 of any of the characters listed in accept. If wcs contains none of
26 these characters, NULL is returned.
27
29 For an explanation of the terms used in this section, see at‐
30 tributes(7).
31
32 ┌────────────────────────────────────────────┬───────────────┬─────────┐
33 │Interface │ Attribute │ Value │
34 ├────────────────────────────────────────────┼───────────────┼─────────┤
35 │wcspbrk() │ Thread safety │ MT-Safe │
36 └────────────────────────────────────────────┴───────────────┴─────────┘
37
39 C11, POSIX.1-2008.
40
42 POSIX.1-2001, C99.
43
45 strpbrk(3), wcschr(3), wcscspn(3)
46
47
48
49Linux man-pages 6.04 2023-03-30 wcspbrk(3)