Lines Matching refs:argv
31 int main(int argc, char **argv) in main() argument
40 printf("Usage: %s [-f logfile] [-a] [-d delay] <program>\n", argv[0]); in main()
48 while(**++argv == '-') { in main()
49 while(*++*argv) { in main()
50 switch(**argv) { in main()
52 if(*++*argv) in main()
53 file = *argv; in main()
55 file = *++argv; in main()
58 if(*++*argv) in main()
59 delay = atoi(*argv); in main()
61 delay = atoi(*++argv); in main()
86 perror(argv[0]); in main()
111 execv(argv[0], argv); in main()
112 execvp(argv[0], argv); in main()
113 perror(argv[0]); in main()