STRPBRK(3) Library Functions Manual STRPBRK(3)

strpbrkscan string for byte

#include <string.h>

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

The strpbrk() function locates the first occurrence in the string pointed to by s1 of any byte from the string pointed to by s2 .

Upon successful completion, strpbrk() returns a pointer to the byte or a null pointer if no byte from s2 occurs in s1 .

No errors are defined.

None.

None.

None.

strchr(3) , strrchr(3) , <string.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail