/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfzone.c | 34 getzonearg(int argc, char *argv[], const char *optstr) argument 49 while ((c = getopt(argc, argv, optstr)) != -1) { 69 getzoneopt(int argc, char *argv[], const char *optstr) argument 79 while ((c = getopt(argc, argv, optstr)) != -1) {
|
H A D | ipf.c | 80 const char *optstr = "6Ac:dDEf:F:GIl:noPrRsT:vVyzZ"; local 92 getzonearg(argc, argv, optstr); 94 while ((c = getopt(argc, argv, optstr)) != -1) {
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t3.c | 21 struct optstr {char *optnam; int *optadd;} options [] = { struct 50 struct optstr *lp;
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 114 * Generalized error processing method. If the optstr parameter is 119 err(String format, char c, String optstr) argument 124 p.printf(format, progname, (optstr == null ? 125 Character.toString(c) : optstr.substring(2)));
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_main.c | 239 const char optstr[] = "f:o:R:V"; local 250 while ((c = getopt(argc, argv, optstr)) != EOF) { 289 for (optind = 1; (c = getopt(argc, argv, optstr)) != EOF; ) {
|
/illumos-gate/usr/src/cmd/fm/ipmitopo/common/ |
H A D | ipmitopo.c | 31 static const char optstr[] = "h:p:u:t:"; variable 142 while ((c = getopt(argc, argv, optstr)) != -1)
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | misc.c | 399 register const char *optstr = sh_optbg; local 401 optstr = sh_optfg; 403 optstr = sh_optdisown; 404 while((n = optget(argv,optstr))) switch(n) 510 register const char *optstr; local 515 optstr = sh_optvpath; 520 optstr = sh_optvmap; 523 while(n = optget(argv, optstr)) switch(n)
|
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/ |
H A D | roll_log.c | 380 char *optstr; local 395 optstr = MNTOPT_RO; 399 optstr = MNTOPT_RW; 406 optstr, MNTOPT_NOSUID, MNTOPT_LARGEFILES);
|
/illumos-gate/usr/src/cmd/tnf/tnfdump/ |
H A D | main.c | 99 char *optstr = "rx"; local 101 while ((c = getopt(argc, argv, optstr)) != EOF) {
|
/illumos-gate/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 241 const char *optstr = "d:n:"; local 257 while ((c = getopt(argc, argv, optstr)) != EOF) {
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot2/ |
H A D | boot2.c | 43 static const char optstr[NOPT] = "agnrsv"; variable 229 for (i = 0; c != optstr[i]; i++)
|
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | boot2.c | 38 static const char optstr[NOPT] = "agnrsv"; variable 236 for (i = 0; c != optstr[i]; i++)
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 513 char *optstr; local 526 if ((optstr = strdup(options)) == NULL) { 531 a->options = optstr; 536 while (*optstr != '\0') { 545 opt = getsubopt(&optstr, ap_opt_names, &value);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 482 blksize_handler(char *optstr) argument 491 value = (int)strtol(optstr, &endp, 10); 504 timeout_handler(char *optstr) argument 513 value = (int)strtol(optstr, &endp, 10); 528 tsize_handler(char *optstr) argument 537 value = strtoll(optstr, &endp, 10);
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | option.c | 441 * .call ret = proc_type(optstr). 442 * .arg optstr - ptr to name or number. 447 proc_type(char *optstr) argument 461 if (a_isnum(optstr, TRUE)) { 462 if ((aep = getauevnam(optstr)) != NULL) 465 if ((aep = getauevnum((au_event_t)atoi(optstr))) != 470 (void) sprintf(errbuf, gettext("invalid event (%s)"), optstr); 514 * .call ret = proc_id(optstr, opt). 515 * .arg optstr - ptr to name or number. 522 proc_id(char *optstr, in argument 575 proc_group(char *optstr, gid_t *gid) argument 595 proc_user(char *optstr, uid_t *uid) argument 626 proc_date(char *optstr, int opt) argument 671 proc_class(char *optstr) argument 1140 proc_label(char *optstr) argument 1250 proc_zonename(char *optstr) argument 1273 proc_fmri(char *optstr) argument [all...] |
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 543 char *optstr = NULL; local 563 optstr = "hsv:l:"; 567 optstr = "sv:l:"; 570 while ((c = getopt(argc, argv, optstr)) != -1) {
|
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 73 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 606 /* Fall through to error below ('S' not in optstr[]). */ 608 for (i = 0; c != optstr[i]; i++)
|
/illumos-gate/usr/src/lib/madv/common/ |
H A D | madv.c | 305 advice_opts(char *optstr, const char *execname, char *cfgfile, int lineno) argument 311 while (*optstr != '\0') { 312 opt = getsubopt(&optstr, legal_optstr, &value);
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 597 const char *optstr; local 622 optstr = PKILL_OPTS; 625 optstr = PGREP_OPTS; 630 while ((c = getopt(argc, argv, optstr)) != (int)EOF) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_sg.c | 245 char optstr[] = ":po:"; local 250 while ((c = getopt(argc, argv, optstr)) != -1) {
|
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/ |
H A D | smtp-notify.c | 78 static const char optstr[] = "dfR:"; variable 801 while ((c = getopt(argc, argv, optstr)) != -1) {
|
/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/ |
H A D | snmp-notify.c | 66 static const char optstr[] = "dfR:"; variable 567 while ((c = getopt(argc, argv, optstr)) != -1) {
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 136 int errflag = 0; /* We had an optstr parse error */ 141 char *optstr; local 171 optstr = MAC_OPTIONS; 173 optstr = DIGEST_OPTIONS; 177 while (!errflag && (c = getopt(argc, argv, optstr)) != -1) {
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | main.c | 571 char *optstr = "l:o:p:s:tkv:"; /* debugging options */ local 573 char *optstr = "l:o:p:s:tk"; /* production options */ local 584 while ((c = getopt(argc, argv, optstr)) != EOF) {
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 53 static const char optstr[] = "bCdem:P:pR:s:StVx"; variable 891 for (optind = 1; (c = getopt(argc, argv, optstr)) != EOF; ) { 1199 while ((c = getopt(argc, argv, optstr)) != -1) {
|