COHERENT manpages
This page displays the COHERENT manpage for strrchr() [Search for rightmost occurrence of a character in a string].
List of available manpages
Index
strrchr() -- String Function (libc) Search for rightmost occurrence of a character in a string #include <string.h> char *strrchr(string, character) char *string; int character; strrchr() looks for the last, or rightmost, occurrence of character within string. character is declared to be an int, but is handled within the function as a char. Another way to describe this function is to say that it performs a reverse search for a character in a string. It is equivalent to the COHERENT function rindex(). strrchr() returns a pointer to the rightmost occurrence of character, or NULL if character could not be found within string. See Also libc, rindex(), string.h ANSI Standard, §7.11.5.5 POSIX Standard, §8.1