diff options
| author | oy <Tom_Adams@web.de> | 2010-10-25 18:41:15 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-25 18:41:15 +0200 |
| commit | af5649628116ac7219b36f43f4d7de3571e025b1 (patch) | |
| tree | e3026556228fc32fc2dddbc8ba0314028a940b9c /src/base/system.h | |
| parent | 8ca6a28088f805d8f7599beb0fab0e8dc8bd7d9c (diff) | |
| download | zcatch-af5649628116ac7219b36f43f4d7de3571e025b1.tar.gz zcatch-af5649628116ac7219b36f43f4d7de3571e025b1.zip | |
moved str_skip_to_whitespace function
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'). |