al_ustr_find_set_cstr(3alleg5)
π al_ustr_find_set_cstr π
okay bestie, gather round, because this is one of those tiny Allegro 5 API functions that does exactly one thing and does it slay. it lives in the Allegro 5 API corner of the manual (section 3alleg5, iykyk), and honestly? it's giving "small but mighty". π¦
β¨ NAME β¨
al_ustr_find_set_cstr β Allegro 5 API π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
int al_ustr_find_set_cstr(const ALLEGRO_USTR *us, int start_pos,
const char *accept)
π DESCRIPTION π
so, the vibe here is: it's like al_ustr_find_set(3alleg5), but instead of whatever fancy thing that one takes for accept, this version takes a C-style string for accept. that's it. that's the whole personality. π
if you already know and love al_ustr_find_set, you already know this one β same energy, just accept as a plain old C string. no cap. π«Ά
π SEE ALSO π
and that's the whole page, bestie!! go forth and find your sets πβ¨ this lil cutie came straight out of the Allegro reference manual β so if you ever forget where you read it, that's the source, and it's iconic for it. mwah, bye! πππ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms