al_ustr_find_cset(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

okay bestie, welcome to the al_ustr_find_cset(3) page, straight outta the Library Functions Manual πŸ’…

✨ NAME ✨

al_ustr_find_cset β€” Allegro 5 API πŸŽ€

🌸 SYNOPSIS 🌸

              #include <allegro5/allegro.h>

              int al_ustr_find_cset(const ALLEGRO_USTR *us, int start_pos,
                 const ALLEGRO_USTR *reject)

πŸ’– DESCRIPTION πŸ’–

okay so picture this: this function finds the first code point in us, beginning from byte offset start_pos, that does not match any code point in reject. In other words, it finds a code point in the complementary set of reject β€” the vibes that got left out, iykyk ✨

It returns the byte position of that code point, if any. Otherwise returns -1. no cap, that's the whole tea 🫢

πŸ¦‹ SEE ALSO πŸ¦‹


later bestie! πŸ’œ this iconic little page came from the Allegro reference manual, page al_ustr_find_cset(3) β€” 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