from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
| You are here: manpages
index
Section: C Library Functions (3) Updated: 202-0-21 Index
Return to Main Contents
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.-2001.
Removed in POSIX.-2008,
recommending
strchr(3)
and
strrchr(3)
instead.
SEE ALSO
strchr(3),
strrchr(3)
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- STANDARDS
-
- HISTORY
-
- SEE ALSO
-
|