XrmInitialize(3X) — X Version 11
NAME
XrmInitialize, XrmParseCommand − initialize the Resource Manager and parse the command line
SYNTAX
void XrmInitialize();
void XrmParseCommand(db, table, table_count, name, argc_return, argv_return,)
XrmDatabase ∗db;
XrmOptionDescList table;
int table_count;
char ∗name;
int ∗argc_return;
char ∗∗argv_return;
ARGUMENTS
argc_returnBefore the call, contains the number of arguments. After the call, returns the number of remaining arguments.
argv_returnBefore the call, a pointer to the command line arguments. After the call, matched arguments have been removed.
databaseSpecifies a pointer to the resource database. If database contains NULL, a new resource database is created and a pointer to it is returned in database.
tableSpecifies table of command line arguments to be parsed.
table_countSpecifies the number of entries in the table.
DESCRIPTION
The XrmInitialize function initialize the resource manager.
The XrmParseCommand function parses an (arc, argv) pair according to the specified option table, loads recognized options into the specified database, and modifies the (arc, argv) pair to remove all recognized options.
SEE ALSO
XrmGetResource(3X), XrmMergeDatabases(3X), XrmPutResource(3X), XrmUniqueQuark(3X)
Xlib − C Language X Interface
1 March 1988