1uisdigit(3)                     Allegro manual                     uisdigit(3)
2
3
4

NAME

6       uisdigit  -  Tells  if a character is a digit. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int uisdigit(int c);
14

DESCRIPTION

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

SEE ALSO

25       uisspace(3), ugetc(3), usetc(3), uwidth(3), ucwidth(3), uisok(3)
26
27
28
29Allegro                          version 4.2.3                     uisdigit(3)
Impressum