strpbrk
locate multiple characters in string
You're viewing an older version of this page (#3296). View the current version.
NAME
<span class="Nm" id="strpbrk">strpbrk</span>
INTERFACE
#include <string.h> char strpbrk ( const char *s, const char *charset )
DESCRIPTION
The strpbrk function locates in the null-terminated string \c s the first occurrence of any character in the string \c charset and returns a pointer to this character. If no characters from \c charset occur anywhere in \c s strpbrk returns NULL.
SEE ALSO
memchr (3) , strchr (3) , strcspn (3) , strrchr (3) , reference:strsep (3) , strspn (3) , strstr (3) , strtok (3)
STANDARDS
The strpbrk function conforms to