musl-tcc/src/string/index.c
2022-03-20 16:48:53 +08:00

9 lines
122 B
C

#define _BSD_SOURCE
#include <string.h>
#include <strings.h>
char *index(const char *s, int c)
{
return strchr(s, c);
}