Searched defs:optstr (Results 1 - 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfzone.c34 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 Dipf.c80 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 Dt3.c21 struct optstr {char *optnam; int *optadd;} options [] = { struct
50 struct optstr *lp;
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java114 * 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 Dfmd_main.c239 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 Dipmitopo.c31 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 Dmisc.c399 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 Droll_log.c380 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 Dmain.c99 char *optstr = "rx"; local
101 while ((c = getopt(argc, argv, optstr)) != EOF) {
/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c241 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 Dboot2.c43 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 Dboot2.c38 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 Dap.c513 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 Dtftp.c482 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 Doption.c441 * .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 Dpcidr.c543 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 Dzfsboot.c73 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 Dmadv.c305 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 Dpgrep.c597 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 Dilbadm_sg.c245 char optstr[] = ":po:"; local
250 while ((c = getopt(argc, argv, optstr)) != -1) {
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c78 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 Dsnmp-notify.c66 static const char optstr[] = "dfR:"; variable
567 while ((c = getopt(argc, argv, optstr)) != -1) {
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c136 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 Dmain.c571 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 Dfmtopo.c53 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) {

Completed in 99 milliseconds

12