abfCommandLine()

Indicates whether a particular component was requested by the program.

Syntax

int abfCommandLine(int argc, char *argv[]);

Inputs

argc
The initial number of arguments (passed to main()).
argv
An array of pointers to the arguments (passed to main()).

Return Value

The new number of arguments in argv[].

Example

int main(int argc, char *argv[])
	abfInit();
	argc = abfCommandLine(argc, argv);
	/* actually translate the file */
}

Comments

There are a number of command line parameters which are meaningful to the ABF library. abfCommandLine() parses those arguments and removes them from argv[].