diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-17 08:54:32 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-17 08:54:32 +0000 |
| commit | 64717eba9de6e3dc60e47c322b5f1c1632ed3b21 (patch) | |
| tree | 6d6f17f9610104cc4a548c8b0de0a7cf32048730 /include/util/string.h | |
| parent | cf117c70277fab4d3de170b55fe8248d9cc36927 (diff) | |
add quotation mark support
allow arguments of a command to be quoted
Diffstat (limited to 'include/util/string.h')
| -rw-r--r-- | include/util/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/util/string.h b/include/util/string.h index 1c7f812..3f1cb0c 100644 --- a/include/util/string.h +++ b/include/util/string.h @@ -13,5 +13,6 @@ namespace ov4 void string2argv(const std::vector<std::string> &s, char **argv); void argv2string(std::vector<std::string> &s, const char * const * argv); std::string safe_str(const char *s, const char *fallback = ""); +void print_str_hex(const std::string &s); } |
