Manpage of RINDEX
RINDEX
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
5.12 `rindex'--reverse search for character in string
SYNOPSIS
#include <string.h>
char * rindex(const char *STRING, int C);
DESCRIPTION
This function finds the last occurence of C (converted to a char) in
the string pointed to by STRING (including the terminating null
character).
This function is identical to `strrchr'.
RETURNS
Returns a pointer to the located character, or a null pointer if C does
not occur in STRING.
PORTABILITY
`rindex' requires no supporting OS subroutines.
SEE ALSO
rindex
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:29 GMT, May 16, 2005
www.fiveanddime.net