1STRPBRK(3)                 Library Functions Manual                 STRPBRK(3)
2
3
4

NAME

6       strpbrk - locate multiple characters in string
7

SYNOPSIS

9       #include <string.h>
10
11       char *
12       strpbrk(s, charset)
13       char *s;
14       char *charset;
15

DESCRIPTION

17       The  strpbrk()  function  locates  in  the null-terminated string s the
18       first occurrence of any character in the string charset and  returns  a
19       pointer  to  this  character.  If no characters from charset occur any‐
20       where in s strpbrk() returns NULL.
21

SEE ALSO

23       index(3),  memchr(3),  rindex(3),  strchr(3),  strcspn(3),  strrchr(3),
24       strsep(3), strspn(3), strstr(3), strtok(3)
25

STANDARDS

27       The strpbrk() function conforms to ANSI C X3.159-1989 )``ANSI C'').
28
29
30
314.4 Berkeley Distribution      January 12, 1996                     STRPBRK(3)
Impressum