strpbrk Function (ROM Call 0x276)

string.h

char *strpbrk (const char *s1, const char *s2);

Scans one string for the first occurrence of any character that's in a second string.

strpbrk scans a string, s1, for the first occurrence of any character appearing in s2. strpbrk returns a pointer to the first occurrence of any of the characters in s2. If none of the s2 characters occurs in s1, it returns NULL.


Used by: fopen