XkbDB= argv[i]; return 2;
if (strlen(argv[i]) < PATH_MAX) { XkbDB= argv[i]; return 2; } else { ErrorF("-xkbdb pathname too long\n"); return -1; }
XkbProcessArguments(argc,argv,i)    int		argc;    char *	argv[];    int		i;#endif{    if (strcmp(argv[i],"-kb")==0) {	noXkbExtension= True;	return 1;    }    else if (strcmp(argv[i],"+kb")==0) {	noXkbExtension= False;	return 1;    }#if 0    else if (strncmp(argv[i], "-xkbdir", 7) == 0) {	if(++i < argc) {	    XkbBaseDirectory= argv[i];	    return 2;	}	else {	    return -1;	}    }#endif    else if (strncmp(argv[i], "-xkbmap", 7) == 0) {	if(++i < argc) {	    XkbInitialMap= argv[i];	    return 2;	}	else {	    return -1;	}    }    else if (strncmp(argv[i], "-xkbdb", 7) == 0) {	if(++i < argc) {	    XkbDB= argv[i];	    return 2;	}	else {	    return -1;	}    }    else if (strncmp(argv[i], "-noloadxkb", 7) == 0) {	XkbAutoLoad= 0;	return 1;    }    else if ((strncmp(argv[i],"-accessx",8)==0)||                 (strncmp(argv[i],"+accessx",8)==0)) {	int j=1;	    	if (argv[i][0]=='-')        	    XkbWantAccessX= 0;	else {	    XkbWantAccessX= 1;	    	    if ( ((i+1)<argc) && (isdigit(argv[i+1][0])) ) {		XkbDfltAccessXTimeout = atoi(argv[++i]);		j++;		if ( ((i+1)<argc) && (isdigit(argv[i+1][0])) ) {		    /*		     * presumption that the reasonably useful range of		     * values fits in 0..MAXINT since SunOS 4 doesn't		     * have strtoul.		     */		    XkbDfltAccessXTimeoutMask=(unsigned int)					      strtol(argv[++i],NULL,16); 		    j++;		}		if ( ((i+1)<argc) && (isdigit(argv[i+1][0])) ) {		    if (argv[++i][0] == '1' ) 			XkbDfltAccessXFeedback=XkbAccessXFeedbackMask;		    else			XkbDfltAccessXFeedback=0;		    j++;		}		if ( ((i+1)<argc) && (isdigit(argv[i+1][0])) ) {		    XkbDfltAccessXOptions=(unsigned char)					   strtol(argv[++i],NULL,16);		    j++;		}	    }	}	return j;    }    if (strcmp (argv[i], "-ar1") == 0) {	/* -ar1 int */	if (++i >= argc) UseMsg ();	XkbDfltRepeatDelay = (long)atoi(argv[i]);	return 2;    }    if (strcmp (argv[i], "-ar2") == 0) {	/* -ar2 int */	if (++i >= argc) UseMsg ();	XkbDfltRepeatInterval = (long)atoi(argv[i]);	return 2;    }    return 0;}