8 lines
102 B
C
8 lines
102 B
C
|
#include <string.h>
|
||
|
#include <strings.h>
|
||
|
|
||
|
char *index(const char *s, int c)
|
||
|
{
|
||
|
return strchr(s, c);
|
||
|
}
|