ustrpbrk(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ 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