@node strrchr, string @subheading Syntax @example #include char *strrchr(const char *s1, int c); @end example @subheading Description This function finds the last occurrence of @code{c} in @code{s1}. @subheading Return Value A pointer to the last match, or @code{NULL} if the character isn't in the string. @subheading Portability @portability ansi, posix @subheading Example @example char *last_slash = strrchr(filename, '/'); @end example