diff options
Diffstat (limited to 'include/ouroboros/utils.h')
-rw-r--r-- | include/ouroboros/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ouroboros/utils.h b/include/ouroboros/utils.h index 2dff6e67..93fbf402 100644 --- a/include/ouroboros/utils.h +++ b/include/ouroboros/utils.h @@ -47,6 +47,13 @@ int n_digits(unsigned i); /* gets the application name */ char * path_strip(const char * src); +/* functions for copying and destroying arguments list */ +size_t argvlen(const char ** argv); + +char ** argvdup(char ** argv); + +void argvfree(char ** argv); + /* destroy a ** */ #define freepp(type, ptr, len) \ do { \ |