splitargs
int splitargs(char *, int, char**);
argc = splitargs(args, 0, NULL);
argc = splitargs(args, 1, argv);