/ast/src/cmd/INIT/ |
H A D | p.c | 24 int main(int argc, char** argv) { return argc || argv; } argument
|
/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 | logname.c | 53 b_logname(int argc, char** argv, Shbltin_t* context) argument 57 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
|
H A D | sync.c | 54 b_sync(int argc, char** argv, Shbltin_t* context) argument 56 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
|
H A D | basename.c | 102 b_basename(int argc, register char** argv, Shbltin_t* context) argument 108 cmdinit(argc, argv, context, ERROR_CATALOG, 0); 130 argc -= opt_info.index; 131 if (error_info.errors || argc < 1 || !all && argc > 2)
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixDialog.c | 38 static int EvalArgv(interp, cmdName, argc, argv) 41 int argc; /* Number of arguments. */ 75 return (*cmdInfo.proc)(cmdInfo.clientData, interp, argc, argv); 100 Tk_ChooseColorCmd(clientData, interp, argc, argv) 103 int argc; /* Number of arguments. */ 106 return EvalArgv(interp, "tkColorDialog", argc, argv); 132 Tk_GetOpenFileCmd(clientData, interp, argc, argv) 135 int argc; /* Number of arguments. */ 141 return EvalArgv(interp, "tkMotifFDialog", argc, argv); 143 return EvalArgv(interp, "tkFDialog", argc, arg [all...] |
H A D | tkAppInit.c | 49 main(argc, argv) 50 int argc; /* Number of command-line arguments. */ 53 Tk_Main(argc, argv, Tcl_AppInit);
|
/ast/src/cmd/cs/vcs_src/ |
H A D | mnt_touch.c | 31 int im_touch(argc, argv) 32 int argc; 60 argc -= opt_info.index; 63 while(argc > 0) 67 argc--;
|
H A D | mnt_umount.c | 31 int im_umount(argc, argv) 32 int argc; 66 argc -= opt_info.index; 68 while(argc > 0) 82 argc--;
|
H A D | mnt_list.c | 31 int im_list(argc, argv) 32 int argc; 67 argc -= opt_info.index; 70 if (argc == 0) 99 while (argc> 0) 105 argc--;
|
/ast/src/lib/libtksh/include/ |
H A D | tclcmd.h | 8 Tcl_Interp *interp, int argc, char **argv)); 10 Tcl_Interp *interp, int argc, char **argv)); 12 Tcl_Interp *interp, int argc, char **argv)); 14 Tcl_Interp *interp, int argc, char **argv)); 16 Tcl_Interp *interp, int argc, char **argv)); 18 Tcl_Interp *interp, int argc, char **argv)); 20 Tcl_Interp *interp, int argc, char **argv)); 22 Tcl_Interp *interp, int argc, char **argv)); 24 Tcl_Interp *interp, int argc, char **argv)); 26 Tcl_Interp *interp, int argc, cha [all...] |
/ast/src/cmd/3d/ |
H A D | vex.sh | 34 integer argc=0 noexpand=0 51 argv[argc]=$arg 52 ((argc+=1))
|
/ast/src/cmd/tests/sfio/ |
H A D | tatexit.c | 38 main(int argc, char** argv) argument 40 main(argc, argv) 41 int argc; 47 if(argc <= 1) /* atexit function registered after some sfio access */
|
/ast/src/cmd/builtin/ |
H A D | mime.c | 56 b_mime(int argc, char** argv, Shbltin_t* context) argument 64 cmdinit(argc, argv, context, ERROR_CATALOG, 0); 84 argc -= opt_info.index; 86 if (error_info.errors || argc > 1 && argc < 3) 98 if (argc <= 1) 104 for (argc = 3; s = argv[argc]; argc++)
|
/ast/src/cmd/cpp/ |
H A D | cpp.c | 33 main(int argc, char** argv) argument 35 NoP(argc);
|
/ast/src/lib/libtksh/src/ |
H A D | tclMain.c | 7 Tcl_Main(argc, argv, appInitProc) 8 int argc; /* Number of arguments. */ 28 * Make command-line arguments available in the Tcl variables "argc" 34 if ((argc > 1) && (argv[1][0] != '-')) { 36 argc--; 39 args = Tcl_Merge(argc-1, argv+1); 42 sprintf(buffer, "%d", argc-1); 43 Tcl_SetVar(interp, "argc", buffer, TCL_GLOBAL_ONLY); 112 int b_tclinit(int argc, char *argv[], Shbltin_t *context) argument 118 if (argc [all...] |
H A D | commands.c | 6 int Tksh_LindexCmd(clientData, interp, argc, argv) 9 int argc; 14 if (argc != 3) { 52 Tksh_LlengthCmd(dummy, interp, argc, argv) 55 int argc; /* Number of arguments. */ 62 if (argc != 2) { 99 Tksh_RenameCmd(dummy, interp, argc, argv) 102 int argc; /* Number of arguments. */ 108 if (argc != 3) 143 int b_TkshSetlistCmd(argc, arg [all...] |
H A D | varcmd.c | 39 Tcl_SetCmd(dummy, interp, argc, argv) 42 int argc; /* Number of arguments. */ 45 if (argc == 2) { 54 } else if (argc == 3) { 71 Tcl_GlobalCmd(dummy, interp, argc, argv) 74 int argc; /* Number of arguments. */ 78 if (argc < 2) { 84 for (argc--, argv++; argc > 0; argc [all...] |
/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/lib/libtk/generic/ |
H A D | tkArgv.c | 5 * argv-argc parsing. 90 int argc; /* # arguments in argv still to process. */ 96 argc = *argcPtr; 99 argc = *argcPtr-1; 102 while (argc > 0) { 105 argc--; 184 if (argc == 0) { 198 argc--; 202 if (argc == 0) { 207 argc 89 int argc; /* # arguments in argv still to process. */ local [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclCmdAH.c | 48 Tcl_BreakCmd(dummy, interp, argc, argv) 51 int argc; /* Number of arguments. */ 54 if (argc != 1) { 82 Tcl_CaseCmd(dummy, interp, argc, argv) 85 int argc; /* Number of arguments. */ 94 if (argc < 3) { 107 caseArgc = argc - i; 223 Tcl_CatchCmd(dummy, interp, argc, argv) 226 int argc; /* Number of arguments. */ 231 if ((argc ! [all...] |