uisdigit(3alleg4)
β¨ uisdigit(3alleg4) β¨
okay bestie, so this one is from the Allegro game programming library and it's literally the cutest little detective π her whole job is checking if a character is a digit.
π NAME π
uisdigit β tells you if a character is a digit, periodt. part of the Allegro game programming library π¦
πΈ SYNOPSIS πΈ
#include <allegro.h>
int uisdigit(int c);
π DESCRIPTION π
so you hand her a character c and she goes is this a digit or not β and if it IS a digit, she returns nonzero. that's the whole vibe check π«Ά
like, watch her cook in this loop:
for (counter = 0; counter < ustrlen(text_string); counter++) {
if (uisdigit(ugetat(text_string, counter)))
usetat(text_string, counter, '*');
}
see how she's just going through every character one by one and swapping the digits out for '*'? iconic behavior honestly πβ¨
π SEE ALSO π
and that's the whole page, no cap π this was Allegro, version 4.4.3, and uisdigit(3alleg4) said what she said. go check a digit, bestie πβπ
π¦ 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