Skip to content

str_rchr.3

Manvendra Bhangui edited this page May 7, 2023 · 2 revisions

NAME

str_rchr - 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)

Clone this wiki locally