Home
last modified time | relevance | path

Searched refs:optarg (Results 101 – 125 of 700) sorted by relevance

12345678910>>...28

/illumos-gate/usr/src/cmd/amdzen/
H A Dudf.c68 device = optarg; in main()
71 funcstr = optarg; in main()
74 inststr = optarg; in main()
80 regstr = optarg; in main()
/illumos-gate/usr/src/cmd/ctfconvert/
H A Dctfconvert.c270 argno = strtonum(optarg, 1, UINT_MAX, &errstr); in main()
273 "%s - %s\n", optarg, errstr); in main()
288 argno = strtonum(optarg, 1, 1024, &errstr); in main()
291 "%s - %s\n", optarg, errstr); in main()
300 label = optarg; in main()
303 label = getenv(optarg); in main()
309 ignorefile = optarg; in main()
312 outfile = optarg; in main()
/illumos-gate/usr/src/cmd/sort/
H A Doptions.c336 if (optarg == argv[optind - 1] + 2) { in parse_old_field_spec()
410 S->m_output_filename = optarg; in options()
414 S->m_tmpdir_template = optarg; in options()
489 xstreql(optarg, "\\t") ? '\t' : in options()
491 optarg[0]; in options()
494 optarg, MB_CUR_MAX); in options()
501 (void) parse_new_field_spec(S, optarg); in options()
505 S->m_memory_limit = strtomem(optarg); in options()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_main.c254 opt_f = optarg; in main()
259 opt_R = optarg; in main()
292 if ((p = strchr(optarg, '=')) == NULL) { in main()
295 fmd.d_pname, optarg); in main()
306 if (fmd_conf_setprop(fmd.d_conf, optarg, p) != 0) { in main()
309 fmd.d_pname, optarg, fmd_strerror(errno)); in main()
/illumos-gate/usr/src/cmd/fm/ipmitopo/common/
H A Dipmitopo.c145 host = optarg; in main()
148 passwd = optarg; in main()
151 if (strcmp(optarg, "bmc") == 0) in main()
153 else if (strcmp(optarg, "lan") == 0) in main()
162 user = optarg; in main()
/illumos-gate/usr/src/cmd/praudit/
H A Dmain.c186 if (strlen(optarg) < sizeof (SEPARATOR)) in process_options()
187 (void) strlcpy(SEPARATOR, optarg, in process_options()
196 if ((gf = fopen(optarg, "r")) == NULL) { in process_options()
203 if ((pf = fopen(optarg, "r")) == NULL) { in process_options()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c1012 int rc = atoi(optarg); in try_int()
1073 alg_names_string = optarg; in main()
1078 block_sizes_string = optarg; in main()
1083 proto_name = optarg; in main()
1094 exec_mode_string = optarg; in main()
1105 increment = try_int(optarg, in main()
1111 key_sizes_string = optarg; in main()
1122 mech_name = optarg; in main()
1127 alg_number = try_int(optarg, in main()
1154 flags = atoi(optarg); in main()
[all …]
/illumos-gate/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c199 if (strlcpy(conf.vvc_link, optarg, in do_create()
202 err_exit("invalid data-link name %s", optarg); in do_create()
223 conf.vvc_pri = strtol(optarg, &endp, 0); in do_create()
232 if (str2opt(optarg, &mask, in do_create()
234 err_exit("invalid options: %s", optarg); in do_create()
246 conf.vvc_vrid = strtol(optarg, &endp, 0); in do_create()
257 if (strcmp(optarg, "inet") == 0) in do_create()
259 else if (strcmp(optarg, "inet6") == 0) in do_create()
361 if (str2opt(optarg, &mask, &conf.vvc_preempt, in do_modify()
376 conf.vvc_pri = strtol(optarg, &endp, 0); in do_modify()
[all …]
/illumos-gate/usr/src/cmd/coreadm/
H A Dcoreadm.c161 glob_pattern = optarg; in main()
164 init_pattern = optarg; in main()
167 proc_pattern = optarg; in main()
171 error |= parse_content(optarg, &glob_content); in main()
174 error |= parse_content(optarg, &init_content); in main()
177 error |= parse_content(optarg, &proc_content); in main()
181 if (strcmp(optarg, "global") == 0) in main()
183 else if (strcmp(optarg, "process") == 0) in main()
185 else if (strcmp(optarg, "global-setid") == 0) in main()
187 else if (strcmp(optarg, "proc-setid") == 0) in main()
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dargs.c31 Dbg_args_option(Lm_list *lml, int ndx, int c, char *optarg) in Dbg_args_option() argument
36 if (optarg) in Dbg_args_option()
37 dbg_print(lml, MSG_INTL(MSG_ARG_OPTARG), ndx, c, optarg); in Dbg_args_option()
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate.c348 device = optarg; in main()
364 zonename = optarg; in main()
374 uname = optarg; in main()
401 device = optarg; in main()
408 device = optarg; in main()
427 zonename = optarg; in main()
480 device = optarg; in main()
530 zonename = optarg; in main()
539 uid = atoi(optarg); in main()
H A Dadd_allocatable.c172 extern char *optarg; in process_args()
184 devinfo->devauths = optarg; in process_args()
188 devinfo->devexec = optarg; in process_args()
203 devinfo->devlist = optarg; in process_args()
218 devinfo->devname = optarg; in process_args()
230 if (strpbrk(optarg, ":;=") == NULL) { in process_args()
236 optarg); in process_args()
242 devinfo->devopts = optarg; in process_args()
253 devinfo->devtype = optarg; in process_args()
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c85 atosz(char *optarg) in atosz() argument
90 if (optarg == NULL || optarg[0] == '\0') in atosz()
93 sz = strtoll(optarg, &endptr, 0); in atosz()
138 cnvpgsz(char *optarg) in cnvpgsz() argument
140 size_t pgsz = atosz(optarg); in cnvpgsz()
156 if (optarg != NULL) { in cnvpgsz()
159 command, optarg); in cnvpgsz()
207 options = optarg; in main()
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c235 arg_entity_string = optarg; in main()
237 strcmp(optarg, "pid") == 0) in main()
254 arg_action_string = optarg; in main()
258 arg_action_string = optarg; in main()
262 arg_name = optarg; in main()
263 if (strncmp(optarg, "process.", in main()
269 else if (strncmp(optarg, "task.", in main()
272 else if (strncmp(optarg, "zone.", in main()
294 arg_valuestring = optarg; in main()
305 if (strcmp("-", optarg) == 0) in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c45 extern char *optarg;
114 if (strlen(optarg) > MAX_MNTOPT_STR) { in main()
120 if (strlen(optarg) == 0) { in main()
126 strcpy(obuff, optarg); in main()
127 options = optarg; in main()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipftest.c15 extern char *optarg;
138 if (strcasecmp(optarg, "pcap") == 0)
142 else if (strcasecmp(optarg, "snoop") == 0)
146 else if (strcasecmp(optarg, "hex") == 0)
148 else if (strcasecmp(optarg, "text") == 0)
152 datain = optarg;
155 ifname = optarg;
158 logout = optarg;
165 optarg) == -1)
177 optarg) == -1)
[all …]
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c1832 file = optarg; in do_show_usage()
1835 stime = optarg; in do_show_usage()
1838 etime = optarg; in do_show_usage()
1973 if (isdigit(optarg[strlen(optarg) - 1])) { in do_create_aggr()
2008 altroot = optarg; in do_create_aggr()
2501 link = optarg; in do_create_vlan()
5476 media = optarg; in do_create_simnet()
9669 l_arg = optarg; in do_create_part()
9862 encap = optarg; in do_create_overlay()
9880 optarg); in do_create_overlay()
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/
H A Ddownload.c190 extern char *optarg; /* used by getopt() */ in options()
204 comment = optarg; in options()
212 mapname = optarg; in options()
216 printer = optarg; in options()
220 residentfonts = optarg; in options()
224 hostfontdir = optarg; in options()
228 temp_dir = optarg; in options()
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c140 parse_flag(char *optarg) in parse_flag() argument
146 for (arg = strtok(optarg, ","); arg != NULL; arg = strtok(NULL, ",")) { in parse_flag()
167 if ((flval = strtoul(optarg, NULL, 0)) == 0 && in main()
168 (flval = parse_flag(optarg)) == 0) in main()
/illumos-gate/usr/src/cmd/policykit/
H A Dpolkit-is-privileged.c102 system_bus_unique_name = g_strdup (optarg); in main()
106 user = g_strdup (optarg); in main()
110 resource = g_strdup (optarg); in main()
114 privilege = g_strdup (optarg); in main()
/illumos-gate/usr/src/cmd/fs.d/
H A Dff.c87 extern char *optarg; /* getopt specific */ in main()
137 fstype = optarg; in main()
141 newargv[newargc++] = optarg; in main()
150 if (optarg) in main()
151 newargv[newargc++] = optarg; in main()
154 optarg = NULL; in main()
/illumos-gate/usr/src/cmd/saf/
H A Dsacadm.c131 if (strchr(optarg, '\n')) { in main()
135 command = optarg; in main()
149 while (*optarg) { in main()
150 switch (*optarg++) { in main()
183 count = atoi(optarg); in main()
190 pmtag = optarg; in main()
191 if (strchr(optarg, '\n')) { in main()
213 type = optarg; in main()
231 version = atoi(optarg); in main()
246 comment = optarg; in main()
[all …]
/illumos-gate/usr/src/cmd/plockstat/
H A Dplockstat.c784 g_nent = strtoul(optarg, &end, 10); in main()
787 "'%s'\n", g_pname, optarg); in main()
870 if (dtrace_setopt(g_dtp, "ustackframes", optarg) == -1) in main()
875 if ((p = strchr(optarg, '=')) != NULL) in main()
878 if (dtrace_setopt(g_dtp, optarg, p) != 0) in main()
879 dfatal("failed to set -x %s", optarg); in main()
884 (void) strtoul(optarg, &end, 10); in main()
885 if (*optarg == '-' || *end != '\0' || errno != 0) { in main()
887 "'%s'\n", g_pname, optarg); in main()
896 dprog_add(optarg); in main()
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c244 tmplfile = optarg; in main()
247 model = optarg; in main()
250 if (strcmp(optarg, "genassym") == 0) in main()
252 else if (strcmp(optarg, "forth") == 0) in main()
259 outfile = optarg; in main()
/illumos-gate/usr/src/cmd/rsrvrctl/
H A Drsrvrctl.c189 opt_a = optarg; in main()
195 opt_r = optarg; in main()
201 opt_s = optarg; in main()
205 if (!parse_size(optarg, &chunk_sz)) { in main()
206 warn("Invalid chunk size %s", optarg); in main()

12345678910>>...28