uisdigit(3) - Linux man page
Name
uisdigit - Tells if a character is a digit. Allegro game programming library.Synopsis
#include <allegro.h>int uisdigit(int c);
Description
Returns nonzero if 'c' is a digit.for (counter = 0; counter < ustrlen(text_string); counter++) {
if (uisdigit(ugetat(text_string, counter)))
usetat(text_string, counter, '*');
}