STRRCHR(3) BSD Programmer's Manual STRRCHR(3) NNAAMMEE ssttrrrrcchhrr - locate character in string SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttrriinngg..hh>> _c_h_a_r _* ssttrrrrcchhrr(_c_o_n_s_t _c_h_a_r _*_s, _i_n_t _c); DDEESSCCRRIIPPTTIIOONN The ssttrrrrcchhrr() function locates the last occurrence of _c (converted to a char) in the string _s. If _c is `\0', ssttrrrrcchhrr() locates the terminating `\0'. RREETTUURRNN VVAALLUUEESS The ssttrrrrcchhrr() function returns a pointer to the character, or a null pointer if _c does not occur anywhere in _s. SSEEEE AALLSSOO index(3), memchr(3), rindex(3), strchr(3), strcspn(3), strpbrk(3), strsep(3), strspn(3), strstr(3), strtok(3) SSTTAANNDDAARRDDSS The ssttrrrrcchhrr() function conforms to ANSI C X3.159-1989 (``ANSI C ''). 4.4BSD June 4, 1993 1