ustrpbrk(3)
β¨ NAME β¨
okay so bestie, ustrpbrk(3) β that's our girl β is from the Allegro manual and the Allegro game programming library π She finds the first character that matches any in a set. lowkey iconic, highkey useful, periodt π
πΈ SYNOPSIS πΈ
#include <allegro.h>
char *ustrpbrk(const char *s, const char *set);
π DESCRIPTION π
okay so this function is literally the main character: it finds the first character in s that matches any character in set. vibe check passed β¨ Example:
char *p = ustrpbrk("one,two-three.four", "-. ");
the way that this ate, no cap π
π RETURN VALUE π
You get back a pointer to the first match, or NULL if none are found. not me pretending there's a match when it's just NULL π
π¦ SEE ALSO π¦
mwah π source/version check: Allegro version 4.4.3, page ustrpbrk(3). date? the footer didn't list one, bestie β so it's giving mystery date vibes, but the Allegro source and version are right here π«Άβ¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms