Files | |
| file | Args.c |
| Argument utilities code. | |
| file | Args.h |
| Argument utilities declarations. | |
Functions | |
| void | MakeArgumentString (int argc, char **argv, char *outArgs, int argsSize) |
| Makes a string from main-style argc and argv. More... | |
| int | GetArgument (char *inString, char *inArg, char *outVal, int valSize) |
| Gets a specified argument from an argument string. More... | |
Here are the argument utilities. They help parse/generate argument lists in the style of command-line arguments.
|
||||||||||||||||||||
|
Gets a specified argument from an argument string.
This function tries to find the argument and, if possible, its value. One-letter arguments can be grouped together as in "
|
|
||||||||||||||||||||
|
Makes a string from main-style argc and argv.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001