|
||
char *strrchr( char *s, int ch )
char *s; /* a string */ int ch; /* search character */
|
|
|
Synopsis |
#include "string.h"
The strrchr function searches string s for the last occurrence of ch .
|
|
Parameters |
s is a null-terminated string. ch is a character.
|
|
Return Value |
strrchr returns a pointer to the first ccurrence of ch , if one exists, and NULL otherwise.
|
|
See Also |
|
|
|
|