str_rchr - Man Page

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.

See Also

strchr(3)