fix mips setjmp/longjmp fpu state on r6, related issues
[musl.git] / src / string / strchr.c
blob3cbc828bebf705ae570e1bfd0c2b518f929c054c
1 #include <string.h>
3 char *strchr(const char *s, int c)
5 char *r = __strchrnul(s, c);
6 return *(unsigned char *)r == (unsigned char)c ? r : 0;