3.12. strpbrk

char *strpbrk( const char *s1, const char *s2);
strpbrk returns a pointer to the first occurrence in string s1 of any character of string s2, or NULL if none are present.

For example, to find the first blank or tab in string str:

        char *p = strpbrk( str, " \t");

strpbrk can be written using strchr.