What would be an efficient way of converting a delimited string into an array of strings in C (not C++)? For example, I might have:
char *input = \"valgrind
Were you remembering to malloc an extra byte for the terminating null that marks the end of string?