1STRPBRK(3) Linux Programmer's Manual STRPBRK(3)
2
3
4
6 strpbrk - search a string for any of a set of characters
7
9 #include <string.h>
10
11 char *strpbrk(const char *s, const char *accept);
12
14 The strpbrk() function locates the first occurrence in the string s of
15 any of the characters in the string accept.
16
18 The strpbrk() function returns a pointer to the character in s that
19 matches one of the characters in accept, or NULL if no such character
20 is found.
21
23 SVr4, 4.3BSD, C89, C99.
24
26 index(3), memchr(3), rindex(3), strchr(3), strsep(3), strspn(3),
27 strstr(3), strtok(3), wcspbrk(3)
28
29
30
31 1993-04-12 STRPBRK(3)