1uisdigit(3) Allegro manual uisdigit(3)
2
3
4
6 uisdigit - Tells if a character is a digit. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 int uisdigit(int c);
14
16 Returns nonzero if `c' is a digit.
17
18 for (counter = 0; counter < ustrlen(text_string); counter++) {
19 if (uisdigit(ugetat(text_string, counter)))
20 usetat(text_string, counter, '*');
21 }
22
23
25 uisspace(3), ugetc(3), usetc(3), uwidth(3), ucwidth(3), uisok(3)
26
27
28
29Allegro version 4.4.3 uisdigit(3)