x SuSE Linux 13.1-RELEASE x
x SuSE Linux 13.1-RELEASEx
index(3) Library Functions Manual index(3)
NAME
index, rindex - locate character in string
LIBRARY
Standard C library (libc, -lc)
SYNOPSIS
#include <strings.h>
[[deprecated]] char *index(const char *s, int c);
[[deprecated]] char *rindex(const char *s, int c);
DESCRIPTION
index() is identical to strchr(3).
rindex() is identical to strrchr(3).
Use strchr(3) and strrchr(3) instead of these functions.
STANDARDS
None.
HISTORY
4.3BSD; marked as LEGACY in POSIX.1-2001. Removed in POSIX.1-2008,
recommending strchr(3) and strrchr(3) instead.
SEE ALSO
strchr(3), strrchr(3)
Linux man-pages 6.04 2023-03-30 index(3)
Want to link to this manual page? Use this URL:
<http://star2.abcm.com/cgi-bin/bsdi-man?query=index&sektion=3&manpath=>