about summary refs log tree commit diff
path: root/src/string/index.c
blob: dd611251f5653beb9a815f91a584f39be74121be (plain) (blame)
1
2
3
4
5
6
7
#include <string.h>
#include <strings.h>

char *index(const char *s, int c)
{
	return strchr(s, c);
}