ctype_isspace.c 319 B

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