strchr¶
Synopsis¶
#include <string.h>
char *strchr(const char *s, int c);
Status¶
Partially implemented
Conformance¶
IEEE Std 1003.1-2017
Description¶
The strchr() function shall locate the first occurrence of c (converted to a char) in the string pointed to
by s. The terminating NUL character is considered to be part of the string.
Return value¶
Upon completion, strchr() shall return a pointer to the byte, or a null pointer if the byte was not found.
Errors¶
No errors are defined.
Tests¶
Untested
Known bugs¶
None