979 strpbrk[find chars in string]

Contents|Index|Previous|Next

strpbrk
[find chars in string]

SYNOPSIS 
#include <string.h> 
char *strpbrk(const char *s1, const char *s2); 

DESCRIPTION
The function,
strpbrk, locates the first occurrence in the string pointed to by s1 of any character in string pointed to by s2 (excluding the terminating null character).

RETURNS
strpbrk returns a pointer to the character found in s1, or a null pointer if no character from s2 occurs in s1.

COMPLIANCE
strpbrk requires no supporting OS subroutines.

0