diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-22T15·43+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-22T15·43+0000 |
commit | 4578a490ce5a5a6325b4ff2b8f44468464de2d94 (patch) | |
tree | 62a5118879990d20e71cccf263f4648bfa3ba253 /src/libutil/util.hh | |
parent | fbedf6056eb2acb5049b0372350b2c93b8185ab7 (diff) |
* Parse multi-valued 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); |