Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 22 of 22) sorted by relevance

/Documentation/sound/cards/
Dmultisound.sh482 int main(int argc, char *argv[])
492 X if ((fd = open(argv[1], O_RDWR)) < 0) {
493 X perror(argv[1]);
854 static int cfg_dsp(int argc, char *argv[])
859 X sscanf(argv[0], "0x%x", &io) != 1 ||
860 X sscanf(argv[1], "%d", &irq) != 1 ||
861 X sscanf(argv[2], "0x%x", &mem) != 1)
902 static int cfg_mpu(int argc, char *argv[])
907 X sscanf(argv[0], "0x%x", &io) != 1 ||
908 X sscanf(argv[1], "%d", &irq) != 1)
[all …]
/Documentation/userspace-api/media/rc/
Dkeytable.c.rst62 int main (int argc, char *argv[])
71 " %s <device> <keycode_file>n",*argv,*argv,*argv);
75 if ((fd = open(argv[1], O_RDONLY)) < 0) {
83 value=parse_code(argv[3]);
86 value = strtol(argv[3], NULL, 0);
91 codes [0] = (unsigned) strtol(argv[2], NULL, 0);
107 fin=fopen(argv[2],"r");
/Documentation/block/
Dioprio.rst117 int main(int argc, char *argv[])
122 while ((c = getopt(argc, argv, "+n:c:p:")) != EOF) {
154 if (!pid && argv[optind])
155 pid = strtol(argv[optind], NULL, 10);
174 if (argv[optind])
175 execvp(argv[optind], &argv[optind]);
/Documentation/usb/
Dgadget_printer.rst449 main(int argc, char *argv[])
462 if (argv[i][0] != '-') {
466 if (!strcmp(argv[i], "-get_status")) {
471 } else if (!strcmp(argv[i], "-paper_loaded")) {
476 } else if (!strcmp(argv[i], "-paper_out")) {
481 } else if (!strcmp(argv[i], "-selected")) {
486 } else if (!strcmp(argv[i], "-not_selected")) {
491 } else if (!strcmp(argv[i], "-error")) {
496 } else if (!strcmp(argv[i], "-no_error")) {
501 } else if (!strcmp(argv[i], "-read_data")) {
[all …]
Dusbdevfs-drop-permissions.c56 int main(int argc, char *argv[]) in main() argument
61 fd = open(argv[1], O_RDWR); in main()
Dgadget_hid.rst368 int main(int argc, const char *argv[])
382 argv[0]);
386 if (argv[2][0] != 'k' && argv[2][0] != 'm' && argv[2][0] != 'j')
389 filename = argv[1];
396 print_options(argv[2][0]);
431 if (argv[2][0] == 'k')
433 else if (argv[2][0] == 'm')
/Documentation/trace/postprocess/
Ddecode_msr.py9 with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f:
/Documentation/admin-guide/
Dbinfmt-misc.rst57 ``P`` - preserve-argv[0]
59 the original argv[0] with the full path to the binary. When this
61 vector for this purpose, thus preserving the original ``argv[0]``.
64 …``/bin/foo`` with ``argv[]`` set to ``["/bin/foo", "/usr/local/bin/blah", "blah"]``. The interp h…
66 with ``argv[]`` set to ``["blah"]``.
Djava.rst223 int main(int argc, char **argv);
297 int main(int argc, char **argv)
303 program = argv[0];
305 if(!argv[1])
307 classfile = fopen(argv[1], "rb");
309 error("%s: Error opening %s\n", program, argv[1]);
/Documentation/userspace-api/media/v4l/
Dcapture.c.rst563 static void usage(FILE *fp, int argc, char **argv)
578 argv[0], dev_name, frame_count);
596 int main(int argc, char **argv)
604 c = getopt_long(argc, argv,
619 usage(stdout, argc, argv);
650 usage(stderr, argc, argv);
Dv4l2grab.c.rst54 int main(int argc, char **argv)
/Documentation/x86/
Dmtrr.rst312 int main (int argc, char **argv)
322 sentry.base = strtoul (argv[1], NULL, 0);
323 sentry.size = strtoul (argv[2], NULL, 0);
326 if (strcmp (argv[3], mtrr_strings[sentry.type]) == 0) break;
330 fprintf (stderr, "Illegal type: \"%s\"\n", argv[3]);
Dresctrl.rst924 int main(int argc, char *argv[])
/Documentation/cdrom/
Dide-cd.rst368 main (int argc, char **argv)
378 program = argv[0];
380 ++argv;
390 if (strcmp (argv[0], "-v") == 0) {
392 ++argv;
396 device = argv[0];
399 slot = atoi (argv[1]) - 1;
/Documentation/admin-guide/media/
Dsi4713.rst149 int main (int argc, char *argv[])
161 sscanf(argv[1], "%d", &rnl.frequency);
/Documentation/dev-tools/
Dkcov.rst62 int main(int argc, char **argv)
153 int main(int argc, char **argv)
286 int main(int argc, char **argv)
/Documentation/userspace-api/media/drivers/
Dcx2341x-uapi.rst108 int main(int argc, char **argv)
114 else fin = fopen(argv[1], "r");
/Documentation/sparc/
Dadi.rst184 main(int argc, char* argv[], char* envp[])
/Documentation/ia64/
Derr_inject.rst982 int main(int argc, char **argv)
992 while ((c = getopt(argc, argv, "m:iqvhle:")) != EOF)
/Documentation/filesystems/
Dramfs-rootfs-initramfs.rst274 int main(int argc, char *argv[])
/Documentation/trace/
Dftrace.rst2304 int main(int argc, char *argv[]) {
2409 int main (int argc, char **argv)
2433 execvp(argv[1], argv+1);
/Documentation/scheduler/
Dsched-deadline.rst873 int main (int argc, char **argv)