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

NAME

6       strpbrk - search a string for any of a set of bytes
7

SYNOPSIS

9       #include <string.h>
10
11       char *strpbrk(const char *s, const char *accept);
12

DESCRIPTION

14       The  strpbrk() function locates the first occurrence in the string s of
15       any of the bytes in the string accept.
16

RETURN VALUE

18       The strpbrk() function returns a pointer to the byte in s that  matches
19       one of the bytes in accept, or NULL if no such byte is found.
20

CONFORMING TO

22       SVr4, 4.3BSD, C89, C99.
23

SEE ALSO

25       index(3),  memchr(3),  rindex(3), strchr(3), string(3), strsep(3), str‐
26       spn(3), strstr(3), strtok(3), wcspbrk(3)
27

COLOPHON

29       This page is part of release 3.53 of the Linux  man-pages  project.   A
30       description  of  the project, and information about reporting bugs, can
31       be found at http://www.kernel.org/doc/man-pages/.
32
33
34
35                                  2012-05-10                        STRPBRK(3)
Impressum