1WCSPBRK(3)                 Linux Programmer's Manual                WCSPBRK(3)
2
3
4

NAME

6       wcspbrk - search a wide-character string for any of a set of wide char‐
7       acters
8

SYNOPSIS

10       #include <wchar.h>
11
12       wchar_t *wcspbrk(const wchar_t *wcs, const wchar_t *accept);
13

DESCRIPTION

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

RETURN VALUE

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

ATTRIBUTES

26       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
27       tributes(7).
28
29       ┌────────────────────────────────────────────┬───────────────┬─────────┐
30Interface                                   Attribute     Value   
31       ├────────────────────────────────────────────┼───────────────┼─────────┤
32wcspbrk()                                   │ Thread safety │ MT-Safe │
33       └────────────────────────────────────────────┴───────────────┴─────────┘
34

CONFORMING TO

36       POSIX.1-2001, POSIX.1-2008, C99.
37

SEE ALSO

39       strpbrk(3), wcschr(3), wcscspn(3)
40

COLOPHON

42       This page is part of release 5.13 of the Linux  man-pages  project.   A
43       description  of  the project, information about reporting bugs, and the
44       latest    version    of    this    page,    can     be     found     at
45       https://www.kernel.org/doc/man-pages/.
46
47
48
49GNU                               2021-03-22                        WCSPBRK(3)
Impressum