0b44a031
68dbd050
1
2
3
4 5 6
7 8
9
#include <string.h> char *__strchrnul(const char *, int); char *strchr(const char *s, int c) { char *r = __strchrnul(s, c); return *(unsigned char *)r == (unsigned char)c ? r : 0; }