1wcspbrk(3)                 Library Functions 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

LIBRARY

10       Standard C library (libc, -lc)
11

SYNOPSIS

13       #include <wchar.h>
14
15       wchar_t *wcspbrk(const wchar_t *wcs, const wchar_t *accept);
16

DESCRIPTION

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

RETURN VALUE

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

ATTRIBUTES

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

STANDARDS

39       C11, POSIX.1-2008.
40

HISTORY

42       POSIX.1-2001, C99.
43

SEE ALSO

45       strpbrk(3), wcschr(3), wcscspn(3)
46
47
48
49Linux man-pages 6.05              2023-07-20                        wcspbrk(3)
Impressum