str_rchr(3) find character in ASCIIZ string

SYNTAX

#include <str.h>

size_t str_rchr(const char* haystack,char needle);

DESCRIPTION

str_rchr returns the index of the last occurrance of needle or the first occurrance of \0 in string.