STRRCHR(3) NEWLIB STRRCHR(3)NAME
6.34 `strrchr'--reverse search for character in string
SYNOPSIS
#include <string.h>
char * strrchr(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 charac‐
ter).
RETURNS
Returns a pointer to the located character, or a null pointer if C does
not occur in STRING.
PORTABILITY
`strrchr' is ANSI C.
`strrchr' requires no supporting OS subroutines.
SEE ALSOstrrchr is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 STRRCHR(3)