diff options
Diffstat (limited to 'src/base/system.h')
| -rw-r--r-- | src/base/system.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/base/system.h b/src/base/system.h index 3d0d5cc7..e5ce1484 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -757,6 +757,22 @@ void str_sanitize_cc(char *str); void str_sanitize(char *str); /* + Function: str_skip_to_whitespace + Skips leading non-whitespace characters(all but ' ', '\t', '\n', '\r'). + + Parameters: + str - Pointer to the string. + + Returns: + Pointer to the first whitespace character found + within the string. + + Remarks: + - The strings are treated as zero-termineted strings. +*/ +char *str_skip_to_whitespace(char *str); + +/* Function: str_skip_whitespaces Skips leading whitespace characters(' ', '\t', '\n', '\r'). |