2
* Copyright (c) 1998 by Christopher Nebel. All Rights Reserved.
4
* Please see the accompanying license file, LICENSE.TXT, for information
5
* on using and copying this software.
12
Break a string into argc/argv-style arguments.
18
07/04/98 CNebel - Created based on older Mac-specific argize source.
29
* Return what argc would be if this string were fed to argize.
31
int countargs(const char *cmdline);
34
* Break a string <cmdline> into argc/argv arguments, removing quotes in
35
* the process. Returns 0 on success, 1 if there were too many
36
* arguments to fit into argv.
38
int argize(char *cmdline, int * const argc, char *argv[],
39
const size_t argvlen);