ISLWS
#define SKIPLWS(x) do { while (ISLWS((*x))) x++; } while (0)
if (*p != '\0' && !ISLWS(*p))
while (*len > 0 && (ISLWS(buf[*len-1])))