al_ustr_find_set_cstr(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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