utoupper(3alleg4)
π utoupper β bestie edition π
ok so this is utoupper, a lil function from the Allegro game programming library manual (that's the 3alleg4 part, iykyk). she's short, she's sweet, she does exactly one thing and she does it flawlessly. main character energy tbh π
β¨ NAME β¨
utoupper β converts a letter to upper case. Allegro game programming library. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int utoupper(int c);
π¦ DESCRIPTION π¦
okay bestie, listen. you hand her an int, she hands it back. but the glow-up is this: if the thing you passed in was a lowercase letter, she returns it in UPPER CASE. uppercase. screaming. capitalised. π£οΈβ¨
so like, if c is already upper case? she returns c as-is, no drama, no notes. if it's lower case? boom, uppercased. it's giving "makeover montage" fr fr. π«Ά
she returns c, converting it to upper case if it is lower case. periodt. π
π₯ SEE ALSO π₯
the whole girl group, no cap:
utolower(3alleg4)β the other direction, her sister πugetc(3alleg4)ugetx(3alleg4)usetc(3alleg4)uwidth(3alleg4)ucwidth(3alleg4)uisok(3alleg4)
ngl this one's a short read and honestly? iconic for that. no hidden gotchas, no footguns, no "undefined behaviour" jumpscare. just a letter getting its life together. π
and that's a wrap, bestie!! this page came to you straight from the Allegro manual, version 4.4.3 β she's a legend, she's a classic, she's been uppercase-ing letters since forever. mwah π see u in the next manpage, love u, bye!! πβ¨π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms