summaryrefslogtreecommitdiff
path: root/src/strings/index.c
blob: 86e92b4ae7cd866ec288c10e298c1951a46e2687 (plain)
1
2
3
4
5
6
7
8
9
10
#include <strings.h>

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

/*
XOPEN(400,700)
*/