STRPBRK(3) Library Functions Manual STRPBRK(3)
NAME
strpbrk — scan
string for byte
SYNOPSIS
#include <string.h> char *strpbrk(const char *s1, const char *s2);
DESCRIPTION
The strpbrk() function locates the first occurrence in the string pointed to by s1 of any byte from the string pointed to by s2 .
RETURN VALUE
Upon successful completion, strpbrk() returns a pointer to the byte or a null pointer if no byte from s2 occurs in s1 .
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
strchr(3) , strrchr(3) , <string.h> .
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail