ustrupr(3)

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

πŸ’– ustrupr(3) β€” the glow-up page πŸ’–

okay bestie, welcome to the Allegro manual ✨ this one's from the Allegro game programming library and it is so simple it's giving main character energy fr fr.


🌸 NAME 🌸

ustrupr β€” she replaces all letters with upper case πŸ’… and yeah, she's part of the Allegro game programming library, periodt.


✨ SYNOPSIS ✨

#include <allegro.h>

char *ustrupr(char *s);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea πŸ“ β€” ustrupr goes through the string s and swaps out every single lower case letter for its upper case glow-up. uppercase letters stay unbothered, lowercase ones get the makeover. iconic behaviour honestly.

like, example? say less:

char buffer[] = "lower case string";
allegro_message(ustrupr(buffer));

that's it. that's the whole vibe. πŸ’œ


πŸŽ€ RETURN VALUE πŸŽ€

the return value is literally just the value of s 🫢 β€” same pointer, same string, but now she's SHOUTING. no cap.


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too bestie, they're all in the same friend group πŸ’–


this page came to you courtesy of Allegro, version 4.4.3 β€” mwah, love u, go uppercase something πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from