[C]Locate character in string (Memo)

Returns a pointer to the first occurrence in str1 of any of the characters that are part of str2, or a null pointer if there are no matches.

The search does not include the terminating null-characters.

Return Value
A pointer to the first occurrence in str1 of any of the characters that are part of str2, or a null pointer if none of the characters of str2 is found in str1 before the terminating null-character.
If none of the characters of str2 is present in str1, a null pointer is returned.

Reference:strpbrk()

No comments:

Post a Comment

Build docker image from multiple build contexts

Build docker image from multiple build contexts ...