al_ustr_rfind_str(3)
β¨ al_ustr_rfind_str(3) β¨
okay so this page lives in the Library Functions Manual, and it's serving the Allegro 5 API β manual name folded in near the top, no copied header line, periodt π
π NAME π
al_ustr_rfind_strβ Allegro 5 API
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
int al_ustr_rfind_str(const ALLEGRO_USTR *haystack, int end_pos,
const ALLEGRO_USTR *needle)
π DESCRIPTION π
Bestie, this is the "find the last one before the cutoff" girlie π₯
It finds the last occurrence of the string needle in haystack before byte offset end_pos β and that end_pos is exclusive, so it does not include that byte π
If it finds the occurrence, it returns the byte offset of the occurrence. If not? It returns -1. That's the whole vibe check π
π¦ SEE ALSO π¦
source/version: the Allegro reference manual; page: al_ustr_rfind_str(3); date: not listed on this one β mwah π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms