STRRCHR(3) Library Functions Manual STRRCHR(3)
NAME
strrchr — string
scanning operation
SYNOPSIS
#include <string.h> char *strrchr(const char *s, int c);
DESCRIPTION
The strrchr() function locates the last occurrence of c (converted to a char ) in the string pointed to by s . The terminating null byte is considered to be part of the string.
RETURN VALUE
Upon successful completion, strrchr() returns a pointer to the byte or a null pointer if c does not occur in the string.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
strchr(3) , <string.h> .
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail