STRPBRK
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
strpbrk
- locate multiple characters in string
SYNOPSIS
Fd #include <string.h>
Ft char *
Fn strpbrk const char *s const char *charset
DESCRIPTION
The
Fn strpbrk
function
locates in the null-terminated string
Fa s
the first occurrence of any character in the string
Fa charset
and returns a pointer to this character.
If no characters from
Fa charset
occur anywhere in
Fa s
Fn strpbrk
returns NULL.
SEE ALSO
index(3),
memchr(3),
rindex(3),
strchr(3),
strcspn(3),
strrchr(3),
strsep(3),
strspn(3),
strstr(3),
strtok(3)
STANDARDS
The
Fn strpbrk
function
conforms to
St -ansiC .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- STANDARDS
-
This document was created by
man2html,
using the manual pages.
Time: 02:54:21 GMT, December 08, 2024