Searched refs:argc (Results 1 - 25 of 319) sorted by relevance

1234567891011>>

/ast/src/cmd/INIT/
H A Dp.c24 int main(int argc, char** argv) { return argc || argv; } argument
/ast/src/lib/libcmd/
H A Dln.c32 b_ln(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cp(argc, argv, context);
H A Dmd5sum.c32 b_md5sum(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cksum(argc, argv, context);
H A Dmv.c32 b_mv(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cp(argc, argv, context);
H A Dsum.c32 b_sum(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cksum(argc, argv, context);
H A Dchown.c35 b_chown(int argc, char** argv, Shbltin_t* context) argument
38 return b_chgrp(argc, argv, context);
H A Dlogname.c53 b_logname(int argc, char** argv, Shbltin_t* context) argument
57 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dsync.c54 b_sync(int argc, char** argv, Shbltin_t* context) argument
56 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dbasename.c102 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 DtkUnixDialog.c38 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 DtkAppInit.c49 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 Dmnt_touch.c31 int im_touch(argc, argv)
32 int argc;
60 argc -= opt_info.index;
63 while(argc > 0)
67 argc--;
H A Dmnt_umount.c31 int im_umount(argc, argv)
32 int argc;
66 argc -= opt_info.index;
68 while(argc > 0)
82 argc--;
H A Dmnt_list.c31 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 Dtclcmd.h8 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 Dvex.sh34 integer argc=0 noexpand=0
51 argv[argc]=$arg
52 ((argc+=1))
/ast/src/cmd/tests/sfio/
H A Dtatexit.c38 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 Dmime.c56 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 Dcpp.c33 main(int argc, char** argv) argument
35 NoP(argc);
/ast/src/lib/libtksh/src/
H A DtclMain.c7 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 Dcommands.c6 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 Dvarcmd.c39 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 Dpmain.c35 int main(int argc, char *argv[]) argument
45 return(sh_main(argc, argv, (Shinit_f)0));
/ast/src/lib/libtk/generic/
H A DtkArgv.c5 * 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 DtclCmdAH.c48 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...]

Completed in 33 milliseconds

1234567891011>>