uisspace(3alleg4) | Allegro manual | uisspace(3alleg4) |
uisspace - Tells if a character is whitespace. Allegro game programming library.
#include <allegro.h>
int uisspace(int c);
Returns nonzero if `c' is whitespace, that is, carriage return, newline, form feed, tab, vertical tab, or space. Example:
for (counter = 0; counter < ustrlen(text_string); counter++) {
if (uisspace(ugetat(text_string, counter)))
usetat(text_string, counter, '_');
}
uisdigit(3alleg4), ugetc(3alleg4), usetc(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4)
version 4.4.2 | Allegro |