str_rchr(3)

πŸ“¦
version 0.34 Β· 3 versions
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing

str_rchr(3) β€” find character in ASCIIZ string πŸŽ€

okay bestie, welcome to the str_rchr(3) page from the Library Functions Manual β€” it’s short, it’s sweet, it’s giving β€œone job and doing it” energy ✨

🌸 NAME 🌸

str_rchr β€” find character in ASCIIZ string πŸ’–

✨ SYNTAX ✨

#include <libowfat/str.h>

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

πŸ’… DESCRIPTION πŸ’…

okay so here’s the tea: str_rchr returns the index of the last occurrance of needle or the first occurrance of \0 in string. that’s literally it, bestie β€” no extra lore, no side quests 🫢

lowkey iconic that it’s just handing you an index, periodt πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


byeee πŸ’– that was str_rchr(3) from the Library Functions Manual β€” footer says str_rchr(3), and there’s no extra date/version tea here, just the tag, periodt πŸŽ€βœ¨