The strrchr function

Name

strrchr -- 

Synopsis

#include <string.h>

char *strrchr (char *s, int c);

Description

The strrchr function locates the last occurrence of c (converted to char) in the string pointed to by s. The terminating null character is considered to be part of the string.

Returns

The strrchr function returns a pointer to the located character, or a null pointer if the character does not occur in the string.

Implementation Notes

None