ssttrrrrcchhrr() -- String Function (libc)

Search for rightmost occurrence of a character in a string
#iinncclluuddee <ssttrriinngg.hh>
cchhaarr *ssttrrrrcchhrr(_s_t_r_i_n_g, _c_h_a_r_a_c_t_e_r)
cchhaarr *_s_t_r_i_n_g; iinntt _c_h_a_r_a_c_t_e_r;

ssttrrrrcchhrr() looks for the  last, or rightmost, occurrence of _c_h_a_r_a_c_t_e_r within
_s_t_r_i_n_g.  _c_h_a_r_a_c_t_e_r is  declared to  be an  iinntt, but  is handled  within the
function as a cchhaarr. 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 rriinnddeexx().

ssttrrrrcchhrr() returns  a pointer to  the rightmost occurrence  of _c_h_a_r_a_c_t_e_r, or
NULL if _c_h_a_r_a_c_t_e_r could not be found within _s_t_r_i_n_g.

_S_e_e _A_l_s_o
lliibbcc, rriinnddeexx(), ssttrriinngg.hh
ANSI Standard, section 7.11.5.5
POSIX Standard, section 8.1
