Searched defs:argc (Results 251 - 275 of 1744) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/mail/
H A Dmain.c43 main(int argc, char **argv) argument
120 * Parse the command line and adjust argc and argv
123 i = parse(argc, argv);
125 argc -= (i - 1);
234 Dout(pn, 11, "ismail=%d, argc=%d\n", ismail, argc);
235 if (ismail && (argc == 1)) {
241 sendmail(argc, argv);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlog.c35 msgbuf(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
56 if (mdb_pwalk_dcmd("b_next", "msgbuf", argc, argv,
64 if (mdb_getopts(argc, argv,
65 'v', MDB_OPT_SETBITS, TRUE, &verbose, NULL) != argc)
H A Dpg.c70 pg(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
83 if (mdb_getopts(argc, argv,
85 NULL) != argc)
/illumos-gate/usr/src/cmd/mdb/common/modules/neti/
H A Dneti.c44 netinfolist(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
51 if (argc)
/illumos-gate/usr/src/cmd/mdb/demo/common/
H A Dexample2.c85 simple_ps(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
90 if (argc != 0)
100 argc, argv) == -1) {
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/serengeti/sgsbbc/
H A Dsgsbbc.c50 display_sbbc_softstate_t(uintptr_t addr, uint_t flags, int argc, argument
/illumos-gate/usr/src/cmd/priocntl/
H A Dsdcpriocntl.c46 main(int argc, char *argv[]) argument
57 while ((c = getopt(argc, argv, "c:dei:ls")) != -1) {
/illumos-gate/usr/src/cmd/prtdiag/
H A Dmain.c53 main(int argc, char *argv[]) argument
71 while ((c = getopt(argc, argv, "vl")) != -1) {
/illumos-gate/usr/src/cmd/prtfru/
H A Dmain.c46 main(int argc, char *argv[]) argument
58 while ((option = getopt(argc, argv, "cdlx")) != EOF) {
81 argc -= optind;
85 if (nodtd || (argc > 0)) {
95 switch (argc) {
/illumos-gate/usr/src/cmd/ptools/prun/
H A Dprun.c46 main(int argc, char **argv) argument
55 if (argc <= 1) {
62 while (--argc > 0)
/illumos-gate/usr/src/cmd/ptools/pstop/
H A Dpstop.c46 main(int argc, char **argv) argument
55 if (argc <= 1) {
62 while (--argc > 0)
/illumos-gate/usr/src/cmd/ptools/pwdx/
H A Dpwdx.c68 main(int argc, char **argv) argument
77 if (argc <= 1) {
82 while (--argc >= 1)
/illumos-gate/usr/src/cmd/refer/
H A Dmkey1.c33 main(int argc, char *argv[]) argument
57 while (argc > 1 && argv[1][0] == '-') {
62 argc--;
70 argc--;
75 argc--;
91 argc--;
105 if (argc <= 1)
108 for (i = 1; i < argc; i++) {
/illumos-gate/usr/src/cmd/rmdir/
H A Drmdir.c48 main(int argc, char **argv) argument
65 while ((c = getopt(argc, argv, "ps")) != EOF)
77 if (argc < 2 || errflg) {
83 argc -= optind;
85 while (argc--) {
/illumos-gate/usr/src/cmd/roles/
H A Droles.c50 main(int argc, char *argv[]) argument
58 if (argc > 2)
61 if (argc == 1) {
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_main.c61 main(int argc, char *argv[]) argument
/illumos-gate/usr/src/cmd/runat/
H A Drunat.c53 main(int argc, char *argv[]) argument
63 if (argc < 2) {
91 if (argc < 3) {
111 for (i = 2, argslen = 0; i < argc; i++) {
129 for (i = 2; i < argc; i++) {
140 if ((i + 1) < argc) {
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddownload.c50 ADM_Process_download(int argc, char *argv[]) argument
63 if ((argc != 3) && (argc != 4)) {
68 if (argc == 4) {
H A Dsend_event.c51 ADM_Process_send_event(int argc, char *argv[]) argument
60 if ((argc != 3) && (argc != 4)) {
64 if (argc == 4) {
75 if (argc == 3) {
/illumos-gate/usr/src/cmd/scsi/sestopo/common/
H A Dsestopo.c79 main(int argc, char *argv[]) argument
84 if (argc != 2)
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dmain.c50 main(int argc, char **argv, char **envp) argument
75 while ((var = getopt(argc, argv, MSG_ORIG(MSG_ARG_OPTIONS))) != EOF) {
111 * file has been specified, provide a default. Update argc and argv
115 argc -= optind;
116 if (argc == 0) {
153 if (input64(argc, argv, prog, ofile, &odesc) == 1)
156 if (input32(argc, argv, prog, ofile, &odesc) == 1)
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetvol.c73 main(int argc, char **argv) argument
79 while ((c = getopt(argc, argv, "fFownx:l:p:k:s:?QW:")) != EOF) {
139 if ((optind+1) != argc)
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c57 main(int argc, char *argv[]) argument
76 while ((c = getopt(argc, argv, "h?")) != EOF) {
85 if (argc == 1)
92 argc--;
120 rval = run_command(command, argc, argv, protocol, handle);
127 run_command(char *command, int argc, char *argv[], char *proto, argument
159 ret = cmdvec->cmdfunc(handle, cmdvec->priv, argc, argv);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c46 main(int argc, char *argv[]) argument
52 if (argc > 1) {
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.args1.c47 main(int argc, char **argv) argument

Completed in 74 milliseconds

<<11121314151617181920>>