#define _BSD_SOURCE #include #include char *index(const char *s, int c) { return strchr(s, c); }