summaryrefslogblamecommitdiff
path: root/src/string/index.c
blob: 252948f9fd5899808f0639c0fc8990d8b7967a28 (plain) (tree)
1
2
3
4
5
6
7
8
                   






                                 
#define _BSD_SOURCE
#include <string.h>
#include <strings.h>

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