al_ustr_find_set(3)

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

πŸŽ€ NAME πŸŽ€

okay so al_ustr_find_set(3) is from the Allegro reference manual, and it's literally the Allegro 5 API function for finding a matching code point. bestie, it's giving β€œsearch squad” energy πŸ’…βœ¨

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

int al_ustr_find_set(const ALLEGRO_USTR *us, int start_pos,
   const ALLEGRO_USTR *accept)

πŸ’– DESCRIPTION πŸ’–

This function finds the first code point in us, beginning from byte offset start_pos, that matches any code point in accept. like, it's scanning from exactly that byte offset, no cap 🫢

Returns the position if a code point was found. Otherwise returns -1. that's the whole vibe 😭

🌸 SEE ALSO 🌸


signing off from the Allegro reference manual, page al_ustr_find_set(3) 🌈 source/version: Allegro reference manual Β· date: not listed in the footer βœ¨πŸ’–

πŸ“¦ 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