This function determines whether the given character is a space or tab.
Signed-off-by: Marco Schlumpp <marco.schlumpp@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io>
Approved-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #627
#define isascii(c) (((unsigned char)(c)) <= 0x7f)
#define toascii(c) ((int)(((unsigned char)(c)) & 0x7f))
+#define isblank(c) ((c) == ' ' || (c) == '\t')
+
static inline int tolower(int c)
{
if (isupper(c))