3 <<rindex>>---reverse search for character in string
10 char * rindex(const char *<[string]>, int <[c]>);
14 char * rindex(<[string]>, <[c]>);
19 This function finds the last occurence of <[c]> (converted to
20 a char) in the string pointed to by <[string]> (including the
21 terminating null character).
23 This function is identical to <<strrchr>>.
26 Returns a pointer to the located character, or a null pointer
27 if <[c]> does not occur in <[string]>.
30 <<rindex>> requires no supporting OS subroutines.
39 _DEFUN (rindex
, (s
, c
),
43 return strrchr (s
, c
);