ustrupr(3)
π 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
- 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