Searched refs:newargc (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dmain.c91 int newargc; local
133 newargc = argc - optind;
136 return (cmds[cur_cmd].c_func(newargc, newargv));
147 newargc = argc - optind;
150 return (cert_cmds[cur_cmd].c_func(newargc, newargv));
/illumos-gate/usr/src/cmd/fs.d/
H A Dff.c56 int newargc = 2; variable
115 newargv[newargc] = vfsbuf.vfs_special;
141 newargv[newargc++] = "-o";
142 newargv[newargc++] = optarg;
145 newargv[newargc++] = "-?";
149 newargv[newargc] = (char *)malloc(3);
150 sprintf(newargv[newargc++], "-%c", arg);
152 newargv[newargc++] = optarg;
195 newargv[newargc] = vfsbuf.vfs_special;
223 newargv[newargc]
[all...]
H A Dswitchout.c63 int newargc = 2; variable
180 newargv[newargc++] = "-o";
181 newargv[newargc++] = optarg;
189 newargv[newargc++] = "-?";
194 newargv[newargc] = (char *)malloc(3);
195 sprintf(newargv[newargc++], "-%c", arg);
197 newargv[newargc++] = optarg;
203 newargv[newargc] = (char *)malloc(3);
204 sprintf(newargv[newargc++], "-%c", arg);
206 newargv[newargc
[all...]
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetarename.c175 int newargc; local
187 newargc = 2;
188 for (i = 1; i < origargc; i++, newargc++)
189 newargv[newargc] = origargv[i];
191 result = meta_mn_send_command(sp, newargc, newargv,
205 result = meta_mn_send_command(sp, newargc, newargv,
H A Dmetareplace.c184 int newargc; local
197 newargc = 2;
198 for (i = 1; i < origargc; i++, newargc++) {
199 newargv[newargc] = origargv[i];
202 result = meta_mn_send_command(sp, newargc, newargv,
215 result = meta_mn_send_command(sp, newargc, newargv,
H A Dmetattach.c450 int newargc; local
462 newargc = 2;
463 for (i = 1; i < argc; i++, newargc++)
464 newargv[newargc] = argv[i];
466 result = meta_mn_send_command(sp, newargc, newargv,
480 result = meta_mn_send_command(sp, newargc, newargv,
H A Dmetahs.c629 int newargc; local
645 newargc = 2;
646 for (i = 1; i < argc; i++, newargc++)
647 newargv[newargc] = argv[i];
648 result = meta_mn_send_command(sp, newargc, newargv,
662 result = meta_mn_send_command(sp, newargc, newargv,
H A Dmetainit.c71 int newargc; local
83 newargc = 4;
88 newargv[newargc] = "-f";
89 newargc++;
91 for (i = 0; i < argc; i++, newargc++)
92 newargv[newargc] = argv[i];
93 ret = meta_mn_send_command(*spp, newargc, newargv,
103 ret = meta_mn_send_command(*spp, newargc, newargv,
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c664 int newargc; local
674 newargc = 1;
676 newargv[newargc] = "-s";
677 newargc++;
678 newargv[newargc] = sp->setname;
679 newargc++;
682 newargv[newargc] = "-f";
683 newargc++;
686 newargv[newargc] = "-r";
687 newargc
[all...]
/illumos-gate/usr/src/cmd/srptadm/
H A Dsrptadm.c129 int newargc = argc; local
164 newargc--;
168 c = getopt_long(newargc, newargv, subcmds[idx].shortopts,
229 newargc -= optind;
230 if (newargc == 0) {
249 if (newargc > 1) {
/illumos-gate/usr/src/cmd/itadm/
H A Ditadm.c251 int newargc = argc; local
292 newargc--;
304 c = getopt_long(newargc, newargv, subcmds[idx].shortopts,
460 newargc -= optind;
461 if (newargc == 0) {
491 if (newargc > 1) {
516 if (newargc > 0) {
583 ret = create_tpg(objp, newargc - 1, &(newargv[1]));
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c291 int newargc; local
453 newargc = argc - optind;
460 result = cmds[cur_cmd].c_func(newargc, newargv, gdt);
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c528 create_argv(char *ibuf, int *newargc, char ***thisargv) argument
587 (*newargc)++;
598 if (argvlen == *newargc) {

Completed in 122 milliseconds