root/src/system/libroot/posix/musl/string/strchr.c
#define _DEFAULT_SOURCE
#include <string.h>

char *strchr(const char *s, int c)
{
        char *r = strchrnul(s, c);
        return *(unsigned char *)r == (unsigned char)c ? r : 0;
}