/* Returns a pointer to the first non-whitespace character in @str.  */
char* skip_spaces(const char *str)
/* Returns a pointer to the first non-whitespace character in @str.  */
char* skip_spaces(const char *str)
{
	while (isspace(*str))
		++str;
	return (char *)str;
}