---
name: "str_rchr"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/str_rchr"
---

# str\_rchr(3)

find character in ASCIIZ string

## 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)](/strchr/3.md)
