9 lines
124 B
C
9 lines
124 B
C
#define _BSD_SOURCE
|
|
#include <string.h>
|
|
#include <strings.h>
|
|
|
|
char *rindex(const char *s, int c)
|
|
{
|
|
return strrchr(s, c);
|
|
}
|