Home | History | Annotate | Download | only in m4

Lines Matching full:argv

98   char *argv[] = { program, a, foo, bar, NULL };
101 c = getopt (4, argv, "ab");
104 c = getopt (4, argv, "ab");
133 char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
136 c = getopt (7, argv, "+abp:q:");
139 if (!(strcmp (argv[0], "program") == 0))
141 if (!(strcmp (argv[1], "donald") == 0))
143 if (!(strcmp (argv[2], "-p") == 0))
145 if (!(strcmp (argv[3], "billy") == 0))
147 if (!(strcmp (argv[4], "duck") == 0))
149 if (!(strcmp (argv[5], "-a") == 0))
151 if (!(strcmp (argv[6], "bar") == 0))
174 char *argv[3] = { program, ab, NULL };
175 if (getopt (2, argv, "ab:") != 'a')
177 if (getopt (2, argv, "ab:") != '?')
235 char *argv[3] = { conftest, plus, NULL };
237 if (getopt (2, argv, "+a") != '?')
248 char *argv[] = { program, p, foo, bar, NULL };
251 if (getopt (4, argv, "p::") != 'p')
255 else if (getopt (4, argv, "p::") != -1)
265 char *argv[] = { program, foo, p, NULL };
267 if (getopt (3, argv, "-p") != 1)
269 else if (getopt (3, argv, "-p") != 'p')
277 char *argv[] = { program, b, a, NULL };
279 if (getopt (3, argv, "+:a:b") != 'b')
281 else if (getopt (3, argv, "+:a:b") != ':')
289 char *argv[] = { program, w, dummy, NULL };
291 if (getopt (3, argv, "W;") != 'W')
330 char *argv[] = { program, xtremel, NULL };
333 if (getopt_long (2, argv, "", long_options, &option_index) != 1003)