Searched refs:optstr (Results 1 - 25 of 54) sorted by relevance

123

/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/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/boot/bootadm/
H A Dbootadm_hyper.c326 cvt_metal_option(char *optstr) argument
331 if (strcmp(optstr, ZFS_BOOTSTR) == 0) {
336 if ((value = strchr(optstr, '=')) == NULL)
339 namlen = value - optstr;
344 if (strncmp(optstr, "console", namlen) == 0) {
349 if ((strncmp(optstr, "ttya-mode", namlen) == 0) ||
350 (strncmp(optstr, "ttyb-mode", namlen) == 0)) {
351 char *port = strndupa(optstr, namlen);
371 cvt_hyper_option(char *optstr) argument
383 if (strcmp(optstr, ZFS_BOOTST
[all...]
/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/lib/libast/amd64/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/illumos-gate/usr/src/lib/libast/common/include/
H A Doption.h100 extern int optstr(const char*, const char*);
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/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/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/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/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/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/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/cmd/tnf/tnfdump/
H A Dmain.c99 char *optstr = "rx"; local
101 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/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/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-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/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/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/libbe/common/
H A Dbe_mount.c1657 char optstr[MAX_MNTOPT_STR]; local
1695 (void) strlcpy(optstr, MNTOPT_NOSUB, sizeof (optstr));
1699 NULL, 0, optstr, sizeof (optstr)) != 0) {
1738 char optstr[MAX_MNTOPT_STR]; local
1834 (void) strlcpy(optstr, MNTOPT_NOSUB, sizeof (optstr));
1838 NULL, 0, optstr, sizeof (optstr)) !
[all...]

Completed in 123 milliseconds

123