uisdigit(3)
β¨ NAME β¨
okay so bestie, this is uisdigit(3) from the Allegro manual β aka the Allegro game programming library. uisdigit tells if a character is a digit. That's the whole assignment. π
π SYNOPSIS π
#include <allegro.h>
int uisdigit(int c);
πΈ DESCRIPTION πΈ
Returns nonzero if c is a digit. That's the whole check, bestie. β¨
Here's the little loop the manual shows, and it's lowkey iconic:
for (counter = 0; counter < ustrlen(text_string); counter++) {
if (uisdigit(ugetat(text_string, counter)))
usetat(text_string, counter, '*');
}
π¦ SEE ALSO π¦
Go give them a read too, bestie, they're all in the same Allegro friend group. π«Ά
π Allegro, version 4.4.3, uisdigit(3) β that's the source/version and page name. The footer doesn't list a date, so no date, no cap. Bye bestie! π
π¦ 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