48 else if (*state->
current ==
'"')
53 else if (*state->
current ==
'\0')
102 uint64_t argvSize =
sizeof(
char*) * (argc + 1);
103 char* strings = (
char*)((
uintptr_t)argv + argvSize);
119 if (out > strings && *(out - 1) !=
'\0')
123 argv[stringIndex++] = out;
128 if (out > strings && *(out - 1) !=
'\0')
138 return (
const char**)argv;
uint64_t _argsplit_count_chars_and_args(const char *str, uint64_t *argc, uint64_t *totalChars, uint64_t maxLen)
const char ** _argsplit_backend(const char **argv, const char *str, uint64_t argc, uint64_t maxLen)
bool _argsplit_step_state(_argsplit_state_t *state)
_PUBLIC int isspace(int c)
#define NULL
Pointer error value.
#define _ARGSPLIT_CREATE(str, maxLen)
__UINTPTR_TYPE__ uintptr_t