strpbrk#

Synopsis#

#include <string.h>

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

Status#

Partially implemented

Conformance#

IEEE Std 1003.1-2017

Description#

The strpbrk() function shall locate 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() shall return a pointer to the byte or a null pointer if no byte from s2 occurs in s1.

Errors#

No errors are defined.

Tests#

Untested

Known bugs#

None

See Also#

  1. Standard library functions

  2. Table of Contents