ctype_isdigit.c 319 B

1234567891011121314
  1. /*
  2. * ctype_isdigit.c
  3. */
  4. #include "lub/ctype.h"
  5. #include <ctype.h>
  6. /*--------------------------------------------------------- */
  7. bool_t lub_ctype_isdigit(char c)
  8. {
  9. unsigned char tmp = (unsigned char)c;
  10. return isdigit(tmp) ? BOOL_TRUE : BOOL_FALSE;
  11. }
  12. /*--------------------------------------------------------- */