locate multiple characters in string

You're viewing an older version of this page (#3296). View the current version.

View versions (3)

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 &#92;c s the first occurrence of any character in the string &#92;c charset and returns a pointer to this character. If no characters from &#92;c charset occur anywhere in &#92;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