diff options
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index beb98fe7c6e9..9e7eb11bd16d 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -261,6 +261,10 @@ string packStrings(const Strings & strings); Strings unpackStrings(const string & s); +/* String tokenizer. */ +Strings tokenizeString(const string & s, const string & separators = " \t\n\r"); + + /* Convert the exit status of a child as returned by wait() into an error string. */ string statusToString(int status); |