index, rindex - locate character in string
#include <strings.h>
char *index(const char *s, int c);
char *rindex(const char *s, int c);
For an explanation of the terms used in this section, see attributes(7).
Interface | Attribute | Value |
index(), rindex() | Thread safety | MT-Safe |
This page is part of release 4.15 of the Linux man-pages
project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.