#ifndef HAVE_ISBLANK
/* This function is equivalent to isblank(). */
-int nisblank(int c)
+bool nisblank(int c)
{
return isspace(c) && (c == '\t' || !is_cntrl_char(c));
}
#if !defined(HAVE_ISWBLANK) && defined(NANO_WIDE)
/* This function is equivalent to iswblank(). */
-int niswblank(wchar_t wc)
+bool niswblank(wchar_t wc)
{
return iswspace(wc) && (wc == '\t' || !is_cntrl_wchar(wc));
}
/* Public functions in chars.c. */
#ifndef HAVE_ISBLANK
-int nisblank(int c);
+bool nisblank(int c);
#endif
#if !defined(HAVE_ISWBLANK) && defined(NANO_WIDE)
-int niswblank(wchar_t wc);
+bool niswblank(wchar_t wc);
#endif
bool is_byte(int c);
bool is_alnum_mbchar(const char *c);