strpbrk.3 (570B)
1 .TH strpbrk 3 2 .SH NAME 3 strpbrk - find the first occurrence of any character from a set in a string 4 .SH SYNOPSIS 5 #include <string.h> 6 7 char *strpbrk(const char *s1, const char *s2) 8 .SH DESCRIPTION 9 The 10 .BR strpbrk () 11 function scans the string pointed to by 12 .I s1 13 for the first character that also appears anywhere in 14 the string pointed to by 15 .IR s2 . 16 .SH RETURN VALUE 17 The 18 .BR strpbrk () 19 function returns a pointer to the first matching character in 20 .IR s1 , 21 or a null pointer if no character from 22 .I s2 23 is found in 24 .IR s1 . 25 .SH STANDARDS 26 ISO/IEC 9899:1999 Section 7.21.5.4