uisdigit(3)

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

✨ 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