skip_spaces.c (206B)
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/ctype.h> 4#include <linux/string.h> 5#include <linux/types.h> 6 7char *skip_spaces(const char *str) 8{ 9 while (isspace(*str)) 10 ++str; 11 return (char *)str; 12}