welibc
A clear, secure, and well documented standard C library
|
Defines the strpbrk function. More...
#include <string.h>
Go to the source code of this file.
Functions | |
char * | strpbrk (const char *s1, const char *s2) |
Locate the first occurrence of any of s2 in s1. More... | |
Defines the strpbrk function.
Definition in file strpbrk.c.
char* strpbrk | ( | const char * | s1, |
const char * | s2 | ||
) |
Locate the first occurrence of any of s2 in s1.
*s1 | String being searched |
*s2 | String of characters to search for |
The strpbrk function locates the first occurrence in the string pointed to by s1 of any character from the string pointed to by s2.
Definition at line 51 of file strpbrk.c.
References NULL, and strcspn().