str_rchr(3)

find character in ASCIIZ string

Section 3 libowfat-dev bookworm source

Description

str_rchr

NAME

str_rchr - find character in ASCIIZ string

SYNTAX

#include <libowfat/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)

See Also