index3
String search character
Usage
#include <strings.h>
[[deprecated]] char *index(const char *s, int c); [[deprecated]] char *rindex(const char *s, int c);
Library
Standard C library (libc, -lc)
Overview
index() is identical to strchr(3); user the latter instead.
rindex() is identical to strrchr(3); use the latter instead.
Releases
19 releases since Debian 1.1 (Buzz); the text changed 13 times.