slightly cleaner strlen, also seems to compile to better code
[musl] / src / string / index.c
1 #include <string.h>
2 #include <strings.h>
3
4 char *index(const char *s, int c)
5 {
6         return strchr(s, c);
7 }