ctype_isspace.c 325 B

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