Scroll to navigation

XrmInitialize(3X11) XLIB FUNCTIONS XrmInitialize(3X11)

̾??

XrmInitialize, XrmParseCommand, XrmValue, XrmOptionKind, XrmOptionDescRec - ?꥽?????ޥ͡??????ȥ꥽?????ޥ͡????㹽¤?Τ??????????????ޥ??ɹԤ?Ÿ??????

????

void XrmInitialize();

void XrmParseCommand(database, table, table_count, name, argc_in_out, argv_in_out)
XrmDatabase *database;
XrmOptionDescList table;
int table_count;
char *name;
int *argc_in_out;
char **argv_in_out;

??????

???????ο??????ꤹ?롣?ޤ????ĤäƤ??????????ο????֤????롣
???ޥ??ɹԤΰ??????????ꤹ?롣 ?ޤ????ĤäƤ????????????֤????롣
?꥽?????ǡ????١????????ꤹ?롣
???ץꥱ????????̾?????ꤹ?롣
Ÿ???????륳?ޥ??ɹԤΰ??????Υơ??֥??????ꤹ?롣
?ơ??֥뤬???ĥ????ȥ꡼?ο??????ꤹ?롣

????

?ؿ? XrmInitialize ?ϥ꥽?????ޥ͡????????????????롣 ¾?? Xrm ?ؿ????Ѥ??????ˤϡ?ɬ?????δؿ????ƤӽФ??ʤ??ƤϤʤ??ʤ???

?ؿ? XrmParseCommand ?ϡ????ꤵ?줿???ץ??????ơ??֥??˽??ä?(argv, argc) ???Ȥ?Ÿ??????ǧ ?????????ץ??????? ``String'' ???ǻ??ꤵ?줿?ǡ????١????˥????ɤ??? (argc, argv) ???Ȥ???ǧ?????????ץ??????????Ƽ????????? ?????? database?? NULL ?ʤ??С????????ǡ????١????????????졢???????ؤ? ?ݥ??󥿤??֤????롣 ?????Ǥʤ??????ˤϡ??????ȥ꡼?????ꤵ?줿?ǡ????١??????ɲä????롣 ?ǡ????١??????????????????ˤϸ??ߤΥ??????????Ȥ???

???ꤵ?줿?ơ??֥??ϥ??ޥ??ɹԤ?Ÿ???˻Ȥ????롣 ?ơ??֥?????ǧ?????줿???ץ??????? argv ?????????????졢argv ???˸??? ?줿???ǥ????ȥ꡼?????ꤵ?줿?꥽?????ǡ????١??????ɲä????롣 ???ץ??????μ??ब XrmoptionNoArg ?ʤ??С??ơ??֥??Υ????ȥ??ϥ??ץ?????ʸ???󡢥??ץ?????̾?????ץ????? ?η?????Ϳ?????ͤξ????????ġ? ???ץ?????̾?? argv ?????İ??????ȥХ??Ȥ??Ȥ????Ӥ??Ԥ??? ?????Ϥ??????Υ??????뤫??????Ω?Ǥ??롣 ?ơ??֥???Ϳ?????????꥽?????ͤϡ??ѹ????줺?˥꥽?????ǡ????١????˳? Ǽ?????롣 ???ƤΥ꥽?????ǡ????١????Υ????ȥ꡼?ϡ?ɽ???? ``String'' ???Ѥ??? ?????????롣 ?????? argc ?ϡ?argv ?????İ??????ο??????ꤹ?롣?ؿ????֤äƤ????ݤˤϡ? Ÿ?????줺?˻Ĥä????????ο??????ꤵ???Ƥ??롣 ?????? name ?ϥǡ????١????Υ????ȥ꡼?????ۤ????ݤ??Ѥ??????륢?ץꥱ?? ????????̾???????ꤷ?ʤ????Фʤ??ʤ??? ?????? name ?ϡ??ǡ????١????Υ????ȥ꡼?γ?Ǽ?????ˡ????ץ?????ɽ?? resourceName ????Ƭ???դ??????롣 ?????˥ԥꥪ?ɤ??ޤ??????Ǥ??äƤ⡢?????? name ??ñ?ȤΥ????ݡ??ͥ??Ȥ? ???ư??????롣 ???ڤ?(????)ʸ?????ޤޤ??Ƥ??ʤ????С? ?ơ??֥??ϥԥꥪ??(.)?????????ꥹ??(*)???? resourceName ?????ȥ꡼???? Ƭ??ʸ???Ȥ??ƴޤ??Ǥ??ʤ????Фʤ??ʤ??? ?????٤??????ꤷ???꥽????̾?????ꤹ?뤿?ᡢresourceName ?????ȥ꡼?? ʣ???Υ????ݡ??ͥ??Ȥ??ޤ??Ƥ??褤?? ?????? name ?? resourceName ?Υ??󥳡??ǥ??󥰤??ۥ??ȥݡ????֥?ʸ???? ?󥳡??ǥ??󥰤Ǥʤ??????μ¹Է??̤ϼ?????¸?Ǥ??롣

??¤??

XrmValue, XrmOptionKind, XrmOptionDescRec ??¤?Τ????Ƥ򼨤???

typedef struct {
	unsigned int size;
	XPointer addr;
} XrmValue, *XrmValuePtr;


typedef enum {
	XrmoptionNoArg,	
	XrmoptionIsArg,	
	XrmoptionStickyArg,	
	XrmoptionSepArg,	
	XrmoptionResArg,	
	XrmoptionSkipArg,	
	XrmoptionSkipLine,	
	XrmoptionSkipNArgs	
} XrmOptionKind;


typedef struct {
	char *option;	
	char *specifier;	
	XrmOptionKind argKind;	
	XPointer value;	
} XrmOptionDescRec, *XrmOptionDescList;


??Ϣ????

XrmGetResource(3X11), XrmMergeDatabases(3X11), XrmPutResource(3X11), XrmUniqueQuark(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11