/ast/src/lib/libcmd/ |
H A D | ln.c | 32 b_ln(int argc, register char** argv, Shbltin_t* context) argument 34 return b_cp(argc, argv, context);
|
H A D | md5sum.c | 32 b_md5sum(int argc, register char** argv, Shbltin_t* context) argument 34 return b_cksum(argc, argv, context);
|
H A D | mv.c | 32 b_mv(int argc, register char** argv, Shbltin_t* context) argument 34 return b_cp(argc, argv, context);
|
H A D | sum.c | 32 b_sum(int argc, register char** argv, Shbltin_t* context) argument 34 return b_cksum(argc, argv, context);
|
H A D | chown.c | 35 b_chown(int argc, char** argv, Shbltin_t* context) argument 38 return b_chgrp(argc, argv, context);
|
H A D | sync.c | 54 b_sync(int argc, char** argv, Shbltin_t* context) argument 56 cmdinit(argc, argv, context, ERROR_CATALOG, 0); 59 switch (optget(argv, usage)) 70 argv += opt_info.index; 71 if (error_info.errors || *argv)
|
H A D | logname.c | 53 b_logname(int argc, char** argv, Shbltin_t* context) argument 57 cmdinit(argc, argv, context, ERROR_CATALOG, 0); 60 switch (optget(argv, usage))
|
H A D | cmdinit.c | 30 _cmd_init(int argc, char** argv, Shbltin_t* context, const char* catalog, int flags) argument 50 if (cp = strrchr(argv[0], '/')) 53 cp = argv[0]; 70 cmdinit(char** argv, Shbltin_t* context, const char* catalog, int flags) argument 72 _cmd_init(0, argv, context, catalog, flags);
|
H A D | mkfifo.c | 53 b_mkfifo(int argc, char** argv, Shbltin_t* context) argument 60 cmdinit(argc, argv, context, ERROR_CATALOG, 0); 63 switch (optget(argv, usage)) 80 argv += opt_info.index; 81 if (error_info.errors || !*argv) 90 while (arg = *argv++)
|
H A D | tty.c | 57 b_tty(int argc, char** argv, Shbltin_t* context) argument 66 cmdinit(argc, argv, context, ERROR_CATALOG, 0); 69 switch (optget(argv, usage))
|
/ast/src/cmd/3d/ |
H A D | execv.c | 27 execv(const char* path, char* const argv[]) argument 29 return(execve(path, argv, environ));
|
/ast/src/cmd/INIT/ |
H A D | p.c | 24 int main(int argc, char** argv) { return argc || argv; } argument
|
/ast/src/cmd/cpp/ |
H A D | cpp.c | 33 main(int argc, char** argv) argument 39 optjoin(argv, ppargs, NiL);
|
/ast/src/lib/libast/misc/ |
H A D | procrun.c | 37 procrun(const char* path, char** argv, int flags) argument 40 flags &= argv ? PROC_ARGMOD : PROC_CHECK; 48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
|
/ast/src/cmd/tests/sfio/ |
H A D | tatexit.c | 38 main(int argc, char** argv) argument 40 main(argc, argv) 42 char** argv; 55 system(sfprints("%s 1",argv[0]));
|
/ast/src/lib/libardir/ |
H A D | testar.c | 25 main(int argc, char** argv) argument 33 while (file = *++argv) 35 if (!strcmp(file, "-t") && *(argv + 1)) 36 touch = strtol(*++argv, NiL, 0);
|
/ast/src/lib/libast/string/ |
H A D | struniq.c | 24 * struniq - uniq a sorted argv 35 struniq(char** argv, int n) argument 41 ao = an = argv; 47 return ao - argv + 1; 50 return ao - argv + 1;
|
H A D | strsort.c | 37 strsort(char** argv, int n, int(*fn)(const char*, const char*)) argument 51 ap = &argv[i];
|
/ast/src/lib/libpp/ |
H A D | ppsym.c | 35 main(int argc, char** argv) argument 45 if (*++argv) 47 while (s = *argv++)
|
/ast/src/cmd/ksh93/sh/ |
H A D | pmain.c | 35 int main(int argc, char *argv[]) argument 45 return(sh_main(argc, argv, (Shinit_f)0));
|
/ast/src/cmd/pax/ |
H A D | nocom.c | 54 main(int argc, char** argv) argument 63 switch (optget(argv, usage)) 74 argv += opt_info.index; 77 if (!*argv) 82 else while (s = *argv++)
|
/ast/src/cmd/tests/ |
H A D | strelapsed.c | 31 main(int argc, char** argv) argument 38 while (s = *++argv) 46 if (!(s = *++argv))
|
/ast/src/lib/libast/preroot/ |
H A D | setpreroot.c | 36 setpreroot(register char** argv, const char* dir) argument 45 if ((argv || (argv = opt_info.argv)) && (dir || (dir = getenv(PR_BASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf))))) 48 for (ap = argv; *ap++; argc++); 55 while (*ap++ = *argv++);
|
/ast/src/lib/libast/vec/ |
H A D | vecargs.c | 27 * string vector argv insertion 47 register char** argv; local 56 if (!(argv = newof(0, char*, num + *argcp + 1, 0))) 62 *argvp = argv; 63 *argv++ = *oargv++; 65 while (s = *argv = *vec++) 68 if (*s) argv++; 71 while (*argv = *oargv++) argv++; 72 *argcp = argv [all...] |
/ast/src/lib/libcoshell/ |
H A D | procrun.c | 33 coprocrun(const char* path, char** argv, int flags) argument 40 if (!(a = argv))
|