Lines Matching defs:argv
267 CallConfigProgram(char **argv)
270 if (argv == NULL) {
271 printf("CallConfigProgram(argv is NULL)\n");
277 for (i = 0; argv[i] != NULL; i++) {
278 printf("argv[%d]=%s\n", i, argv[i]);
283 if (argv[0] == NULL) {
287 (void) execvp(argv[0], argv);
826 static char *argv[] = { NULL, "-dev", NULL, "-help", NULL };
831 argv[0] = config_prog_path;
832 argv[2] = device_path;
833 CallConfigProgram(argv);
1550 * on options in the program command line (argv[]):
1566 char *argv[]) /* Program argument vector */
1578 int i; /* argv[] argument vector index */
1613 if (strncmp(argv[i], "-help", 6) == 0) {
1619 if (strncmp(argv[i], "-list", 6) == 0) {
1625 if (strncmp(argv[i], "-xserver", 9) == 0) {
1631 if (strncasecmp(argv[i], "Xsun", 4) == 0) {
1633 } else if (strncasecmp(argv[i], "Xorg", 4) == 0) {
1641 if (strncmp(argv[i], "-gui", 5) == 0) {
1647 if (strncmp(argv[i], "-dev", 5) == 0) {
1660 argv[i]);
1669 argv[i],
1676 cfg_argv[n ] = argv[i-1];
1686 cfg_argv[n] = argv[i];