argc 21 cat.c main(int argc, char *argv[]) argc 25 cat.c if(argc <= 1){ argc 30 cat.c for(i = 1; i < argc; i++){ argc 6 echo.c main(int argc, char *argv[]) argc 10 echo.c for(i = 1; i < argc; i++) argc 11 echo.c printf(1, "%s%s", argv[i], i+1 < argc ? " " : "\n"); argc 15 exec.c uint argc, sz, sp, ustack[3+MAXARG+1]; argc 65 exec.c for(argc = 0; argv[argc]; argc++) { argc 66 exec.c if(argc >= MAXARG) argc 68 exec.c sp = (sp - (strlen(argv[argc]) + 1)) & ~3; argc 69 exec.c if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0) argc 71 exec.c ustack[3+argc] = sp; argc 73 exec.c ustack[3+argc] = 0; argc 76 exec.c ustack[1] = argc; argc 77 exec.c ustack[2] = sp - (argc+1)*4; // argv pointer argc 79 exec.c sp -= (3+argc+1) * 4; argc 80 exec.c if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0) argc 39 grep.c main(int argc, char *argv[]) argc 44 grep.c if(argc <= 1){ argc 50 grep.c if(argc <= 2){ argc 55 grep.c for(i = 2; i < argc; i++){ argc 6 kill.c main(int argc, char **argv) argc 10 kill.c if(argc < 2){ argc 14 kill.c for(i=1; i<argc; i++) argc 6 ln.c main(int argc, char *argv[]) argc 8 ln.c if(argc != 3){ argc 74 ls.c main(int argc, char *argv[]) argc 78 ls.c if(argc < 2){ argc 82 ls.c for(i=1; i<argc; i++) argc 6 mkdir.c main(int argc, char *argv[]) argc 10 mkdir.c if(argc < 2){ argc 15 mkdir.c for(i = 1; i < argc; i++){ argc 68 mkfs.c main(int argc, char *argv[]) argc 79 mkfs.c if(argc < 2){ argc 130 mkfs.c for(i = 2; i < argc; i++){ argc 6 rm.c main(int argc, char *argv[]) argc 10 rm.c if(argc < 2){ argc 15 rm.c for(i = 1; i < argc; i++){ argc 420 sh.c int tok, argc; argc 430 sh.c argc = 0; argc 437 sh.c cmd->argv[argc] = q; argc 438 sh.c cmd->eargv[argc] = eq; argc 439 sh.c argc++; argc 440 sh.c if(argc >= MAXARGS) argc 444 sh.c cmd->argv[argc] = 0; argc 445 sh.c cmd->eargv[argc] = 0; argc 17 stressfs.c main(int argc, char *argv[]) argc 1707 usertests.c main(int argc, char *argv[]) argc 36 wc.c main(int argc, char *argv[]) argc 40 wc.c if(argc <= 1){ argc 45 wc.c for(i = 1; i < argc; i++){