STRPBRK C-3

NAME

strpbrk, strppbrk - return first (last) occurrence in string of character in set

SYNOPSIS

char *strpbrk (string, set)

char *string;

char *set;

char *strppbrk (string, set)

char *string;

char *set;

DESCRIPTION

Strpbrk (strppbrk) returns a pointer to the first (last) occurrence in string of any of the characters in set, or NULL if there are no characters from set that are in string. Both string and set point to null terminated strings.

DIAGNOSTICS

Strpbrk and strppbrk returns NULL if there is no occurrence of a character from set in string.

NOTES

Strpbrk and strppbrk are present only on systems that do not already have them in their standard C library.