Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
size_t count_whitespace(const unsigned *s) {
  const unsigned char *t = s;
  while(isspace((unsigned char)*t))
    ++t;
  return t - s;
}

...