argv 125 bsp/drv/dev/base/kd.c kd_null(int argc, char **argv) argv 161 bsp/drv/dev/base/kd.c kd_help(int argc, char **argv) argv 176 bsp/drv/dev/base/kd.c kd_continue(int argc, char **argv) argv 183 bsp/drv/dev/base/kd.c kd_reboot(int argc, char **argv) argv 195 bsp/drv/dev/base/kd.c kd_mstat(int argc, char **argv) argv 211 bsp/drv/dev/base/kd.c kd_thread(int argc, char **argv) argv 243 bsp/drv/dev/base/kd.c kd_task(int argc, char **argv) argv 306 bsp/drv/dev/base/kd.c kd_vm(int argc, char **argv) argv 331 bsp/drv/dev/base/kd.c kd_device(int argc, char **argv) argv 367 bsp/drv/dev/base/kd.c kd_driver(int argc, char **argv) argv 375 bsp/drv/dev/base/kd.c kd_irq(int argc, char **argv) argv 399 bsp/drv/dev/base/kd.c kd_trap(int argc, char **argv) argv 409 bsp/drv/dev/base/kd.c kd_devstat(int argc, char **argv) argv 419 bsp/drv/dev/base/kd.c kd_trace(int argc, char **argv) argv 423 bsp/drv/dev/base/kd.c if (argc != 2 || !strncmp(argv[1], "-?", 2)) { argv 428 bsp/drv/dev/base/kd.c task = kd_lookup_task(argv[1]); argv 432 bsp/drv/dev/base/kd.c printf("Toggle trace flag: %s (%08lx)\n", argv[1], (long)task); argv 439 bsp/drv/dev/base/kd.c kd_examine(int argc, char **argv) argv 449 bsp/drv/dev/base/kd.c p = argv[1]; argv 456 bsp/drv/dev/base/kd.c p = argv[1]; argv 475 bsp/drv/dev/base/kd.c p = argv[2]; argv 520 bsp/drv/dev/base/kd.c kd_write(int argc, char **argv) argv 532 bsp/drv/dev/base/kd.c pa = argv[1]; argv 533 bsp/drv/dev/base/kd.c pv = argv[2]; argv 536 bsp/drv/dev/base/kd.c p = argv[1]; argv 553 bsp/drv/dev/base/kd.c pa = argv[2]; argv 554 bsp/drv/dev/base/kd.c pv = argv[3]; argv 581 bsp/drv/dev/base/kd.c kd_dispatch(int argc, char **argv) argv 587 bsp/drv/dev/base/kd.c if (!strncmp(argv[0], cmd_table[i].cmd, LINE_MAX)) { argv 588 bsp/drv/dev/base/kd.c error = (cmd_table[i].func)(argc, argv); argv 46 usr/bin/cat/cat.c #define main(argc, argv) cat_main(argc, argv) argv 56 usr/bin/cat/cat.c main(int argc, char *argv[]) argv 60 usr/bin/cat/cat.c while ((ch = getopt(argc, argv, "")) != -1) argv 68 usr/bin/cat/cat.c argv += optind; argv 76 usr/bin/cat/cat.c if (*argv) { argv 77 usr/bin/cat/cat.c if (!strcmp(*argv, "-")) argv 79 usr/bin/cat/cat.c else if ((fd = open(*argv, O_RDONLY, 0)) < 0) { argv 80 usr/bin/cat/cat.c warn("%s", *argv); argv 81 usr/bin/cat/cat.c ++argv; argv 85 usr/bin/cat/cat.c filename = *argv++; argv 90 usr/bin/cat/cat.c } while (*argv); argv 33 usr/bin/clear/clear.c #define main(argc, argv) clear_main(argc, argv) argv 37 usr/bin/clear/clear.c main(int argc, char *argv[]) argv 33 usr/bin/cmdbox/cmd_conf.c extern int help_main(int argc, char *argv[]); argv 34 usr/bin/cmdbox/cmd_conf.c extern int cat_main(int argc, char *argv[]); argv 35 usr/bin/cmdbox/cmd_conf.c extern int clear_main(int argc, char *argv[]); argv 36 usr/bin/cmdbox/cmd_conf.c extern int cp_main(int argc, char *argv[]); argv 37 usr/bin/cmdbox/cmd_conf.c extern int date_main(int argc, char *argv[]); argv 38 usr/bin/cmdbox/cmd_conf.c extern int dmesg_main(int argc, char *argv[]); argv 39 usr/bin/cmdbox/cmd_conf.c extern int echo_main(int argc, char *argv[]); argv 40 usr/bin/cmdbox/cmd_conf.c extern int free_main(int argc, char *argv[]); argv 41 usr/bin/cmdbox/cmd_conf.c extern int head_main(int argc, char *argv[]); argv 42 usr/bin/cmdbox/cmd_conf.c extern int hostname_main(int argc, char *argv[]); argv 43 usr/bin/cmdbox/cmd_conf.c extern int kill_main(int argc, char *argv[]); argv 44 usr/bin/cmdbox/cmd_conf.c extern int ls_main(int argc, char *argv[]); argv 45 usr/bin/cmdbox/cmd_conf.c extern int mkdir_main(int argc, char *argv[]); argv 46 usr/bin/cmdbox/cmd_conf.c extern int more_main(int argc, char *argv[]); argv 47 usr/bin/cmdbox/cmd_conf.c extern int mv_main(int argc, char *argv[]); argv 48 usr/bin/cmdbox/cmd_conf.c extern int nice_main(int argc, char *argv[]); argv 49 usr/bin/cmdbox/cmd_conf.c extern int printenv_main(int argc, char *argv[]); argv 50 usr/bin/cmdbox/cmd_conf.c extern int ps_main(int argc, char *argv[]); argv 51 usr/bin/cmdbox/cmd_conf.c extern int pwd_main(int argc, char *argv[]); argv 52 usr/bin/cmdbox/cmd_conf.c extern int rm_main(int argc, char *argv[]); argv 53 usr/bin/cmdbox/cmd_conf.c extern int rmdir_main(int argc, char *argv[]); argv 54 usr/bin/cmdbox/cmd_conf.c extern int sleep_main(int argc, char *argv[]); argv 55 usr/bin/cmdbox/cmd_conf.c extern int sync_main(int argc, char *argv[]); argv 56 usr/bin/cmdbox/cmd_conf.c extern int test_main(int argc, char *argv[]); argv 57 usr/bin/cmdbox/cmd_conf.c extern int touch_main(int argc, char *argv[]); argv 58 usr/bin/cmdbox/cmd_conf.c extern int uname_main(int argc, char *argv[]); argv 59 usr/bin/cmdbox/cmd_conf.c extern int null_main(int argc, char *argv[]); argv 44 usr/bin/cmdbox/main.c extern int sh_main(int argc, char *argv[]); argv 48 usr/bin/cmdbox/main.c null_main(int argc, char *argv[]) argv 54 usr/bin/cmdbox/main.c help_main(int argc, char *argv[]) argv 106 usr/bin/cmdbox/main.c main(int argc, char *argv[]) argv 112 usr/bin/cmdbox/main.c prog = basename(argv[0]); argv 129 usr/bin/cmdbox/main.c if (!strcmp(argv[1], "sh")) argv 132 usr/bin/cmdbox/main.c cmd = argv[1]; argv 133 usr/bin/cmdbox/main.c argv++; argv 140 usr/bin/cmdbox/main.c exit(sh_main(argc, argv)); argv 147 usr/bin/cmdbox/main.c exit(entry->func(argc, argv)); argv 47 usr/bin/cp/cp.c #define main(argc, argv) cp_main(argc, argv) argv 57 usr/bin/cp/cp.c main(int argc, char *argv[]) argv 63 usr/bin/cp/cp.c while ((ch = getopt(argc, argv, "")) != -1) argv 70 usr/bin/cp/cp.c argv += optind; argv 78 usr/bin/cp/cp.c target = argv[--argc]; argv 90 usr/bin/cp/cp.c if (stat(argv[0], &tmp_stat) == -1) { argv 91 usr/bin/cp/cp.c warn("%s", argv[0]); argv 106 usr/bin/cp/cp.c r = copy(argv[0], target, 0); argv 113 usr/bin/cp/cp.c r = copy(argv[i], target, 1); argv 37 usr/bin/date/date.c #define main(argc, argv) date_main(argc, argv) argv 41 usr/bin/date/date.c main(int argc, char *argv[]) argv 37 usr/bin/dmesg/dmesg.c #define main(argc, argv) dmesg_main(argc, argv) argv 41 usr/bin/dmesg/dmesg.c main(int argc, char *argv[]) argv 35 usr/bin/echo/echo.c #define main(argc, argv) echo_main(argc, argv) argv 39 usr/bin/echo/echo.c main(int argc, char *argv[]) argv 44 usr/bin/echo/echo.c if (*++argv && !strcmp(*argv, "-n")) { argv 45 usr/bin/echo/echo.c ++argv; argv 51 usr/bin/echo/echo.c while (*argv) { argv 52 usr/bin/echo/echo.c (void)printf("%s", *argv); argv 53 usr/bin/echo/echo.c if (*++argv) argv 39 usr/bin/free/free.c #define main(argc, argv) free_main(argc, argv) argv 43 usr/bin/free/free.c main(int argc, char *argv[]) argv 47 usr/bin/head/head.c #define main(argc, argv) head_main(argc, argv) argv 56 usr/bin/head/head.c main(int argc, char *argv[]) argv 64 usr/bin/head/head.c while ((ch = getopt(argc, argv, "n:")) != EOF) argv 76 usr/bin/head/head.c argv += optind; argv 78 usr/bin/head/head.c if (*argv) argv 79 usr/bin/head/head.c for (first = 1; *argv; ++argv) { argv 80 usr/bin/head/head.c if ((fp = fopen(*argv, "r")) == NULL) { argv 81 usr/bin/head/head.c err(0, "%s: %s", *argv, strerror(errno)); argv 86 usr/bin/head/head.c first ? "" : "\n", *argv); argv 36 usr/bin/hostname/hostname.c #define main(argc, argv) hostname_main(argc, argv) argv 44 usr/bin/hostname/hostname.c main(int argc, char *argv[]) argv 39 usr/bin/kill/kill.c #define main(argc, argv) kill_main(argc, argv) argv 48 usr/bin/kill/kill.c main(int argc, char *argv[]) argv 59 usr/bin/kill/kill.c argv++; argv 60 usr/bin/kill/kill.c if (!strcmp(*argv, "-l")) { argv 61 usr/bin/kill/kill.c argc--, argv++; argv 65 usr/bin/kill/kill.c if (isdigit((unsigned char)**argv) == 0) argv 67 usr/bin/kill/kill.c numsig = strtol(*argv, &ep, 10); argv 68 usr/bin/kill/kill.c if (!*argv || *ep) argv 69 usr/bin/kill/kill.c errx(1, "illegal signal number: %s", *argv); argv 73 usr/bin/kill/kill.c nosig(*argv); argv 81 usr/bin/kill/kill.c if (!strcmp(*argv, "-s")) { argv 82 usr/bin/kill/kill.c argc--, argv++; argv 87 usr/bin/kill/kill.c if (strcmp(*argv, "0")) { argv 88 usr/bin/kill/kill.c if ((numsig = signame_to_signum(*argv)) < 0) argv 89 usr/bin/kill/kill.c nosig(*argv); argv 92 usr/bin/kill/kill.c argc--, argv++; argv 93 usr/bin/kill/kill.c } else if (**argv == '-') { argv 94 usr/bin/kill/kill.c ++*argv; argv 95 usr/bin/kill/kill.c if (isalpha(**argv)) { argv 96 usr/bin/kill/kill.c if ((numsig = signame_to_signum(*argv)) < 0) argv 97 usr/bin/kill/kill.c nosig(*argv); argv 98 usr/bin/kill/kill.c } else if (isdigit(**argv)) { argv 99 usr/bin/kill/kill.c numsig = strtol(*argv, &ep, 10); argv 100 usr/bin/kill/kill.c if (!*argv || *ep) argv 101 usr/bin/kill/kill.c errx(1, "illegal signal number: %s", *argv); argv 103 usr/bin/kill/kill.c nosig(*argv); argv 105 usr/bin/kill/kill.c nosig(*argv); argv 106 usr/bin/kill/kill.c argc--, argv++; argv 112 usr/bin/kill/kill.c for (errors = 0; argc; argc--, argv++) { argv 113 usr/bin/kill/kill.c pid = strtol(*argv, &ep, 10); argv 114 usr/bin/kill/kill.c if (!*argv || *ep) { argv 115 usr/bin/kill/kill.c warnx("illegal process id: %s", *argv); argv 118 usr/bin/kill/kill.c warn("%s", *argv); argv 43 usr/bin/ls/ls.c #define main(argc, argv) ls_main(argc, argv) argv 66 usr/bin/ls/ls.c main(int argc, char *argv[]) argv 73 usr/bin/ls/ls.c while ((ch = getopt(argc, argv, "1ClFaA")) != -1) { argv 103 usr/bin/ls/ls.c argv += optind; argv 118 usr/bin/ls/ls.c rc = do_ls(*argv); argv 119 usr/bin/ls/ls.c ++argv; argv 120 usr/bin/ls/ls.c } while (*argv); argv 39 usr/bin/mkdir/mkdir.c #define main(argc, argv) mkdir_main(argc, argv) argv 46 usr/bin/mkdir/mkdir.c main(int argc, char *argv[]) argv 51 usr/bin/mkdir/mkdir.c while ((ch = getopt(argc, argv, "p")) != EOF) argv 61 usr/bin/mkdir/mkdir.c argv += optind; argv 63 usr/bin/mkdir/mkdir.c if (argv[0] == NULL) argv 66 usr/bin/mkdir/mkdir.c for (exitval = 0; *argv != NULL; ++argv) { argv 67 usr/bin/mkdir/mkdir.c if (pflag && build(*argv)) { argv 71 usr/bin/mkdir/mkdir.c if (mkdir(*argv, argv 73 usr/bin/mkdir/mkdir.c warn("%s", *argv); argv 39 usr/bin/more/more.c #define main(argc, argv) more_main(argc, argv) argv 45 usr/bin/more/more.c main(int argc, char *argv[]) argv 53 usr/bin/more/more.c while ((ch = getopt(argc, argv, "")) != -1) argv 62 usr/bin/more/more.c argv += optind; argv 67 usr/bin/more/more.c if (*argv) { argv 68 usr/bin/more/more.c for (; *argv; ++argv) { argv 69 usr/bin/more/more.c if ((fp = fopen(*argv, "r")) == NULL) { argv 70 usr/bin/more/more.c warn("%s", *argv); argv 71 usr/bin/more/more.c ++argv; argv 40 usr/bin/mv/mv.c #define main(argc, argv) mv_main(argc, argv) argv 44 usr/bin/mv/mv.c main(int argc, char *argv[]) argv 55 usr/bin/mv/mv.c src = argv[1]; argv 56 usr/bin/mv/mv.c dest = argv[2]; argv 43 usr/bin/nice/nice.c #define main(argc, argv) nice_main(argc, argv) argv 51 usr/bin/nice/nice.c main(int argc, char *argv[]) argv 57 usr/bin/nice/nice.c if (argc > 1 && argv[1][0] == '-' && argv 58 usr/bin/nice/nice.c isdigit((unsigned char)argv[1][1])) { argv 59 usr/bin/nice/nice.c niceness = atoi (argv[1] + 1); argv 60 usr/bin/nice/nice.c argc--; argv++; argv 63 usr/bin/nice/nice.c while ((c = getopt (argc, argv, "n:")) != -1) { argv 75 usr/bin/nice/nice.c argc -= optind; argv += optind; argv 89 usr/bin/nice/nice.c execvp(argv[0], &argv[1]); argv 90 usr/bin/nice/nice.c err ((errno == ENOENT) ? 127 : 126, "%s", argv[0]); argv 41 usr/bin/printenv/printenv.c #define main(argc, argv) printenv_main(argc, argv) argv 51 usr/bin/printenv/printenv.c main(int argc, char *argv[]) argv 57 usr/bin/printenv/printenv.c while ((ch = getopt(argc, argv, "")) != EOF) argv 64 usr/bin/printenv/printenv.c argv += optind; argv 71 usr/bin/printenv/printenv.c len = strlen(*argv); argv 73 usr/bin/printenv/printenv.c if (!memcmp(*ep, *argv, len)) { argv 40 usr/bin/ps/ps.c #define main(argc, argv) ps_main(argc, argv) argv 80 usr/bin/ps/ps.c main(int argc, char *argv[]) argv 89 usr/bin/ps/ps.c while ((ch = getopt(argc, argv, "lx")) != -1) argv 104 usr/bin/ps/ps.c argv += optind; argv 38 usr/bin/pwd/pwd.c #define main(argc, argv) pwd_main(argc, argv) argv 42 usr/bin/pwd/pwd.c main(int argc, char *argv[]) argv 37 usr/bin/rm/rm.c #define main(argc, argv) rm_main(argc, argv) argv 49 usr/bin/rm/rm.c main(int argc, char *argv[]) argv 53 usr/bin/rm/rm.c while ((ch = getopt(argc, argv, "")) != -1) argv 60 usr/bin/rm/rm.c argv += optind; argv 68 usr/bin/rm/rm.c if ((rc = unlink(*argv)) < 0) argv 70 usr/bin/rm/rm.c ++argv; argv 71 usr/bin/rm/rm.c } while (*argv); argv 74 usr/bin/rm/rm.c err(1, "%s", *argv); argv 37 usr/bin/rmdir/rmdir.c #define main(argc, argv) rmdir_main(argc, argv) argv 48 usr/bin/rmdir/rmdir.c main(int argc, char *argv[]) argv 52 usr/bin/rmdir/rmdir.c while ((ch = getopt(argc, argv, "")) != -1) argv 59 usr/bin/rmdir/rmdir.c argv += optind; argv 66 usr/bin/rmdir/rmdir.c if ((rc = rmdir(*argv)) < 0) argv 68 usr/bin/rmdir/rmdir.c ++argv; argv 69 usr/bin/rmdir/rmdir.c } while (*argv); argv 72 usr/bin/rmdir/rmdir.c err(1, "%s", *argv); argv 44 usr/bin/sh/cmds.c static int cmd_null(int argc, char *argv[]); argv 45 usr/bin/sh/cmds.c static int cmd_cd(int argc, char *argv[]); argv 46 usr/bin/sh/cmds.c static int cmd_mem(int argc, char *argv[]); argv 47 usr/bin/sh/cmds.c static int cmd_exec(int argc, char *argv[]); argv 48 usr/bin/sh/cmds.c static int cmd_exit(int argc, char *argv[]); argv 66 usr/bin/sh/cmds.c cmd_null(int argc, char *argv[]) argv 72 usr/bin/sh/cmds.c cmd_cd(int argc, char *argv[]) argv 85 usr/bin/sh/cmds.c p = argv[1]; argv 93 usr/bin/sh/cmds.c cmd_exec(int argc, char *argv[]) argv 108 usr/bin/sh/cmds.c if (!strcmp(argv[1], "sh")) { argv 112 usr/bin/sh/cmds.c return execve(argv[1], &argv[2], envp); argv 116 usr/bin/sh/cmds.c cmd_mem(int argc, char *argv[]) argv 128 usr/bin/sh/cmds.c cmd_exit(int argc, char *argv[]) argv 59 usr/bin/sh/sh.c #define main(argc, argv) sh_main(argc, argv) argv 113 usr/bin/sh/sh.c execute(int argc, char *argv[], int *redir, int flags, cmdfn_t cmdfn) argv 121 usr/bin/sh/sh.c arg = argc > 1 ? &argv[1] : NULL; argv 122 usr/bin/sh/sh.c file = argv[0]; argv 158 usr/bin/sh/sh.c if (cmdfn(argc, argv) != 0) argv 159 usr/bin/sh/sh.c fprintf(stderr, "%s: %s\n", argv[0], argv 167 usr/bin/sh/sh.c error("%s: command not found", argv[0]); argv 171 usr/bin/sh/sh.c error("%s cannot execute", argv[0]); argv 454 usr/bin/sh/sh.c main(int argc, char **argv) argv 462 usr/bin/sh/sh.c argv = (char **)0; argv 479 usr/bin/sh/sh.c input = open(argv[1], O_RDONLY); argv 481 usr/bin/sh/sh.c fprintf(stderr, "%s: cannot open\n", argv[1]); argv 54 usr/bin/sh/sh.h extern int null_cmd(int argc, char *argv[]); argv 55 usr/bin/sh/sh.h extern int cmd_showvars(int argc, char *argv[]); argv 56 usr/bin/sh/sh.h extern int cmd_unsetvar(int argc, char *argv[]); argv 57 usr/bin/sh/sh.h extern int cmd_export(int argc, char *argv[]); argv 167 usr/bin/sh/var.c cmd_showvars(int argc, char *argv[]) argv 182 usr/bin/sh/var.c cmd_unsetvar(int argc, char *argv[]) argv 190 usr/bin/sh/var.c unsetvar(argv[1]); argv 195 usr/bin/sh/var.c cmd_export(int argc, char *argv[]) argv 205 usr/bin/sh/var.c var = lookupvar(argv[i]); argv 35 usr/bin/sleep/sleep.c #define main(argc, argv) sleep_main(argc, argv) argv 41 usr/bin/sleep/sleep.c main(int argc, char *argv[]) argv 45 usr/bin/sleep/sleep.c while ((ch = getopt(argc, argv, "")) != -1) argv 52 usr/bin/sleep/sleep.c argv += optind; argv 57 usr/bin/sleep/sleep.c if ((secs = atoi(*argv)) > 0) argv 34 usr/bin/sync/sync.c #define main(argc, argv) sync_main(argc, argv) argv 38 usr/bin/sync/sync.c main(int argc, char *argv[]) argv 27 usr/bin/test/test.c #define main(argc, argv) test_main(argc, argv) argv 175 usr/bin/test/test.c main(int argc, char *argv[]) argv 179 usr/bin/test/test.c if (strcmp(argv[0], "[") == 0) { argv 180 usr/bin/test/test.c if (strcmp(argv[--argc], "]")) argv 182 usr/bin/test/test.c argv[argc] = NULL; argv 188 usr/bin/test/test.c t_wp = &argv[1]; argv 43 usr/bin/touch/touch.c #define main(argc, argv) touch_main(argc, argv) argv 53 usr/bin/touch/touch.c main(int argc, char *argv[]) argv 59 usr/bin/touch/touch.c while ((ch = getopt(argc, argv, "")) != -1) argv 69 usr/bin/touch/touch.c argv += optind; argv 75 usr/bin/touch/touch.c if (do_touch(*argv, flags)) argv 77 usr/bin/touch/touch.c ++argv; argv 78 usr/bin/touch/touch.c } while (*argv); argv 40 usr/bin/uname/uname.c #define main(argc, argv) uname_main(argc, argv) argv 57 usr/bin/uname/uname.c main(int argc, char *argv[]) argv 64 usr/bin/uname/uname.c while ((ch = getopt(argc, argv, "amnrsv")) != EOF) { argv 90 usr/bin/uname/uname.c argv += optind; argv 39 usr/lib/crt/crt1.c extern int main(int argc, char *argv[], char *envp[]); argv 48 usr/lib/crt/crt1.c __prex_main(int argc, char *argv[], char *envp[]) argv 54 usr/lib/crt/crt1.c if ((ap = argv[0])) { argv 63 usr/lib/crt/crt1.c exit(main(argc, argv, envp)); argv 48 usr/lib/libc/gen/execl.c char **argv; argv 56 usr/lib/libc/gen/execl.c argv = alloca (i * sizeof (char *)); argv 59 usr/lib/libc/gen/execl.c argv[0] = (char *) arg; argv 60 usr/lib/libc/gen/execl.c for (i = 1; (argv[i] = (char *) va_arg(ap, char *)) != NULL; i++) argv 64 usr/lib/libc/gen/execl.c r = execve(name, argv, environ); argv 51 usr/lib/libc/gen/execle.c char **argv, **envp; argv 59 usr/lib/libc/gen/execle.c argv = alloca (i * sizeof (char *)); argv 62 usr/lib/libc/gen/execle.c argv[0] = (char *) arg; argv 63 usr/lib/libc/gen/execle.c for (i = 1; (argv[i] = (char *) va_arg(ap, char *)) != NULL; i++) argv 68 usr/lib/libc/gen/execle.c return execve(name, argv, envp); argv 42 usr/lib/libc/gen/execlp.c char **argv; argv 50 usr/lib/libc/gen/execlp.c argv = alloca (i * sizeof (char *)); argv 53 usr/lib/libc/gen/execlp.c argv[0] = (char *) arg; argv 54 usr/lib/libc/gen/execlp.c for (i = 1; (argv[i] = va_arg(ap, char *)) != NULL; i++) argv 58 usr/lib/libc/gen/execlp.c return execvp(name, argv); argv 36 usr/lib/libc/gen/execv.c execv(name, argv) argv 38 usr/lib/libc/gen/execv.c char * const *argv; argv 42 usr/lib/libc/gen/execv.c r = execve(name, argv, environ); argv 43 usr/lib/libc/gen/execvp.c execvp(const char *name, char * const *argv) argv 97 usr/lib/libc/gen/execvp.c retry: (void)execve(bp, argv, environ); argv 106 usr/lib/libc/gen/execvp.c for (cnt = 0; argv[cnt] != NULL; ++cnt) argv 112 usr/lib/libc/gen/execvp.c (void)memcpy(&memp[2], &argv[1], cnt * sizeof(*memp)); argv 69 usr/lib/libc/gen/fts.c fts_open(char * const *argv, int options, argv 99 usr/lib/libc/gen/fts.c if (fts_palloc(sp, MAX(fts_maxarglen(argv), MAXPATHLEN))) argv 108 usr/lib/libc/gen/fts.c for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { argv 110 usr/lib/libc/gen/fts.c if ((len = strlen(*argv)) == 0) { argv 115 usr/lib/libc/gen/fts.c p = fts_alloc(sp, *argv, len); argv 963 usr/lib/libc/gen/fts.c fts_maxarglen(char * const *argv) argv 967 usr/lib/libc/gen/fts.c for (max = 0; *argv; ++argv) argv 968 usr/lib/libc/gen/fts.c if ((len = strlen(*argv)) > max) argv 50 usr/lib/posix/exec/execve.c execve(const char *path, char * const *argv, char * const *envp) argv 71 usr/lib/posix/exec/execve.c if (argv) { argv 72 usr/lib/posix/exec/execve.c while (argv[argc]) { argv 73 usr/lib/posix/exec/execve.c bufsz += (strlen(argv[argc]) + 1); argv 89 usr/lib/posix/exec/execve.c src = argv[i]; argv 84 usr/sample/alarm/alarm.c main(int argc, char *argv[]) argv 106 usr/sample/balls/balls.c main(int argc, char *argv[]) argv 57 usr/sample/bench/bench.c main(int argc, char *argv[]) argv 41 usr/sample/cpumon/cpumon.c main(int argc, char *argv[]) argv 34 usr/sample/hello/hello.c main(int argc, char *argv[]) argv 127 usr/sample/ipc/ipc.c main(int argc, char *argv[]) argv 218 usr/sample/mutex/mutex.c main(int argc, char *argv[]) argv 90 usr/sample/sem/sem.c main(int argc, char *argv[]) argv 93 usr/sample/task/task.c main(int argc, char *argv[]) argv 117 usr/sample/tetris/tetris.c main(int argc, char *argv[]) argv 128 usr/sample/tetris/tetris.c while ((ch = getopt(argc, argv, "l")) != EOF) argv 145 usr/sample/tetris/tetris.c argv += optind; argv 128 usr/sample/thread/thread.c main(int argc, char *argv[]) argv 50 usr/sbin/debug/debug.c main(int argc, char *argv[]) argv 58 usr/sbin/debug/debug.c if (object_lookup(argv[1], &obj) != 0) { argv 59 usr/sbin/debug/debug.c fprintf(stderr, "debug: can not find object %s\n", argv[1]); argv 81 usr/sbin/diskutil/diskutil.c disk_null(int argc, char **argv) argv 86 usr/sbin/diskutil/diskutil.c disk_help(int argc, char **argv) argv 100 usr/sbin/diskutil/diskutil.c disk_list(int argc, char **argv) argv 105 usr/sbin/diskutil/diskutil.c disk_info(int argc, char **argv) argv 110 usr/sbin/diskutil/diskutil.c disk_mount(int argc, char **argv) argv 117 usr/sbin/diskutil/diskutil.c if (mount(argv[4], argv[5], argv[3], 0, NULL) < 0) { argv 124 usr/sbin/diskutil/diskutil.c disk_unmount(int argc, char **argv) argv 129 usr/sbin/diskutil/diskutil.c disk_eject(int argc, char **argv) argv 134 usr/sbin/diskutil/diskutil.c disk_rename(int argc, char **argv) argv 139 usr/sbin/diskutil/diskutil.c disk_verify(int argc, char **argv) argv 144 usr/sbin/diskutil/diskutil.c disk_partition(int argc, char **argv) argv 149 usr/sbin/diskutil/diskutil.c main(int argc, char *argv[]) argv 160 usr/sbin/diskutil/diskutil.c if (!strncmp(argv[1], cmdtab[i].cmd, LINE_MAX)) { argv 161 usr/sbin/diskutil/diskutil.c (cmdtab[i].func)(argc, argv); argv 59 usr/sbin/init/init.c main(int argc, char *argv[]) argv 63 usr/sbin/install/install.c main(int argc, char *argv[]) argv 72 usr/sbin/install/install.c if (!strcmp(argv[1], "-?")) argv 83 usr/sbin/install/install.c src = argv[i]; argv 44 usr/sbin/ktrace/ktrace.c main(int argc, char *argv[]) argv 49 usr/sbin/ktrace/ktrace.c if (argc < 2 || !strncmp(argv[1], "-?", 2)) { argv 67 usr/sbin/ktrace/ktrace.c execvp(argv[1], &argv[2]); argv 53 usr/sbin/lock/lock.c main(int argc, char *argv[]) argv 61 usr/sbin/lock/lock.c if (!strcmp(argv[1], "-u")) argv 83 usr/sbin/pmctrl/pmctrl.c pmctrl_null(int argc, char **argv) argv 88 usr/sbin/pmctrl/pmctrl.c pmctrl_help(int argc, char **argv) argv 120 usr/sbin/pmctrl/pmctrl.c pmctrl_off(int argc, char **argv) argv 135 usr/sbin/pmctrl/pmctrl.c pmctrl_reboot(int argc, char **argv) argv 150 usr/sbin/pmctrl/pmctrl.c pmctrl_suspend(int argc, char **argv) argv 165 usr/sbin/pmctrl/pmctrl.c pmctrl_info(int argc, char **argv) argv 189 usr/sbin/pmctrl/pmctrl.c pmctrl_policy(int argc, char **argv) argv 198 usr/sbin/pmctrl/pmctrl.c if (!strcmp(argv[2], "high")) argv 200 usr/sbin/pmctrl/pmctrl.c else if (!strcmp(argv[2], "save")) argv 211 usr/sbin/pmctrl/pmctrl.c pmctrl_sustime(int argc, char **argv) argv 219 usr/sbin/pmctrl/pmctrl.c timeout = atoi(argv[2]); argv 228 usr/sbin/pmctrl/pmctrl.c pmctrl_dimtime(int argc, char **argv) argv 236 usr/sbin/pmctrl/pmctrl.c timeout = atoi(argv[2]); argv 245 usr/sbin/pmctrl/pmctrl.c pmctrl_battery(int argc, char **argv) argv 252 usr/sbin/pmctrl/pmctrl.c main(int argc, char *argv[]) argv 268 usr/sbin/pmctrl/pmctrl.c if (!strncmp(argv[1], cmdtab[i].cmd, LINE_MAX)) { argv 269 usr/sbin/pmctrl/pmctrl.c (cmdtab[i].func)(argc, argv); argv 266 usr/server/boot/boot.c main(int argc, char *argv[]) argv 319 usr/server/exec/exec_execve.c char **argv, **envp; argv 379 usr/server/exec/exec_execve.c argv = (char **)sp; argv 388 usr/server/exec/exec_execve.c argv[0] = (char *)((u_long)stack + (u_long)file - mapped); argv 391 usr/server/exec/exec_execve.c argv[i] = (char *)((u_long)stack + (arg_top - mapped)); argv 394 usr/server/exec/exec_execve.c argv[argc + 1] = NULL; argv 162 usr/server/exec/main.c main(int argc, char *argv[]) argv 1092 usr/server/fs/vfs/main.c main(int argc, char *argv[]) argv 393 usr/server/pow/pow.c main(int argc, char *argv[]) argv 522 usr/server/proc/main.c main(int argc, char *argv[]) argv 41 usr/test/args/args.c main(int argc, char *argv[]) argv 51 usr/test/args/args.c printf("argc=%d argv=%x\n", argc, (unsigned int)argv); argv 55 usr/test/args/args.c printf("argv[%d]: %s\n", i, argv[i]); argv 101 usr/test/attack/attack.c main(int argc, char *argv[]) argv 39 usr/test/conf/conf.c main(int argc, char *argv[]) argv 38 usr/test/console/console.c main(int argc, char *argv[]) argv 112 usr/test/cpufreq/cpufreq.c main(int argc, char *argv[]) argv 49 usr/test/creat/creat.c main(int argc, char *argv[]) argv 143 usr/test/deadlock/deadlock.c main(int argc, char *argv[]) argv 54 usr/test/dup/dup.c main(int argc, char *argv[]) argv 59 usr/test/environ/environ.c main(int argc, char *argv[]) argv 40 usr/test/errno/errno.c main(int argc, char *argv[]) argv 49 usr/test/exception/exception.c main(int argc, char *argv[]) argv 37 usr/test/fault/fault.c main(int argc, char *argv[]) argv 129 usr/test/fdd/fdd.c main(int argc, char *argv[]) argv 45 usr/test/fifo/fifo.c main(int argc, char *argv[]) argv 134 usr/test/fileio/fileio.c main(int argc, char *argv[]) argv 41 usr/test/fork/fork.c main(int argc, char *argv[]) argv 37 usr/test/forkbomb/forkbomb.c main(int argc, char *argv[]) argv 109 usr/test/ipc/ipc.c main(int argc, char *argv[]) argv 107 usr/test/ipc_mt/ipc_mt.c main(int argc, char *argv[]) argv 37 usr/test/kbd/kbd.c main(int argc, char *argv[]) argv 44 usr/test/kmon/cmd.c static void cmd_help(int argc, char **argv); argv 45 usr/test/kmon/cmd.c static void cmd_ver(int argc, char **argv); argv 46 usr/test/kmon/cmd.c static void cmd_mem(int argc, char **argv); argv 47 usr/test/kmon/cmd.c static void cmd_clear(int argc, char **argv); argv 48 usr/test/kmon/cmd.c static void cmd_kill(int argc, char **argv); argv 49 usr/test/kmon/cmd.c static void cmd_reboot(int argc, char **argv); argv 50 usr/test/kmon/cmd.c static void cmd_shutdown(int argc, char **argv); argv 70 usr/test/kmon/cmd.c cmd_help(int argc, char **argv) argv 81 usr/test/kmon/cmd.c cmd_ver(int argc, char **argv) argv 93 usr/test/kmon/cmd.c cmd_mem(int argc, char **argv) argv 108 usr/test/kmon/cmd.c cmd_clear(int argc, char **argv) argv 115 usr/test/kmon/cmd.c cmd_kill(int argc, char **argv) argv 124 usr/test/kmon/cmd.c t = (thread_t)strtoul(argv[1], &ep, 16); argv 132 usr/test/kmon/cmd.c cmd_reboot(int argc, char **argv) argv 146 usr/test/kmon/cmd.c cmd_shutdown(int argc, char **argv) argv 160 usr/test/kmon/cmd.c dispatch_cmd(int argc, char **argv) argv 165 usr/test/kmon/cmd.c if (!strcmp(argv[0], cmd_table[i].cmd)) { argv 166 usr/test/kmon/cmd.c (cmd_table[i].func)(argc, argv); argv 172 usr/test/kmon/cmd.c printf("%s: command not found\n", argv[0]); argv 107 usr/test/kmon/kmon.c main(int argc, char *argv[]) argv 138 usr/test/malloc/malloc.c main(int argc, char *argv[]) argv 41 usr/test/memleak/memleak.c main(int argc, char *argv[]) argv 44 usr/test/mount/mount.c main(int argc, char *argv[]) argv 51 usr/test/mount/mount.c if (mount(argv[3], argv[4], argv[2], 0, NULL) < 0) { argv 41 usr/test/mutex/mutex.c main(int argc, char *argv[]) argv 41 usr/test/object/object.c main(int argc, char *argv[]) argv 98 usr/test/pipe/pipe.c main(int argc, char *argv[]) argv 133 usr/test/ramdisk/ramdisk.c main(int argc, char *argv[]) argv 41 usr/test/reset/reset.c main(int argc, char *argv[]) argv 38 usr/test/sem/sem.c main(int argc, char *argv[]) argv 53 usr/test/shutdown/shutdown.c main(int argc, char *argv[]) argv 59 usr/test/shutdown/shutdown.c if (!strcmp(argv[1], "-r")) argv 43 usr/test/signal/signal.c main(int argc, char *argv[]) argv 49 usr/test/stack/stack.c main(int argc, char *argv[]) argv 38 usr/test/stderr/stderr.c main(int argc, char *argv[]) argv 54 usr/test/task/task.c main(int argc, char *argv[]) argv 66 usr/test/thread/thread.c main(int argc, char *argv[]) argv 62 usr/test/time/time.c main(int argc, char *argv[]) argv 38 usr/test/timer/timer.c main(int argc, char *argv[]) argv 44 usr/test/umount/umount.c main(int argc, char *argv[]) argv 47 usr/test/umount/umount.c if (umount(argv[1]) < 0) argv 51 usr/test/zero/zero.c main(int argc, char *argv[])