void argv_deinit(argv_t *argv)
Deinitializes an argument vector, freeing any allocated memory.
uint64_t argv_init(argv_t *argv, const char **src)
Initializes an argument vector from a source array of strings.
const char * argv_get_strings(const argv_t *argv, uint64_t *length)
Retrieves a pointer to the start of the first string.
Argument Vector structure.
uint64_t size
!< Used to avoid allocations for empty argv
uint64_t amount
!< Size of the buffer in bytes.