1uisspace(3) Allegro manual uisspace(3)
2
3
4
6 uisspace - Tells if a character is whitespace. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 int uisspace(int c);
14
16 Returns nonzero if `c' is whitespace, that is, carriage return, new‐
17 line, form feed, tab, vertical tab, or space. Example:
18
19 for (counter = 0; counter < ustrlen(text_string); counter++) {
20 if (uisspace(ugetat(text_string, counter)))
21 usetat(text_string, counter, '_');
22 }
23
24
26 uisdigit(3), ugetc(3), usetc(3), uwidth(3), ucwidth(3), uisok(3)
27
28
29
30Allegro version 4.4.2 uisspace(3)