Home
last modified time | relevance | path

Searched refs:optstr (Results 1 – 25 of 57) sorted by relevance

123

/titanic_41/usr/src/cmd/auditreduce/
H A Doption.c447 proc_type(char *optstr) in proc_type() argument
461 if (a_isnum(optstr, TRUE)) { in proc_type()
462 if ((aep = getauevnam(optstr)) != NULL) in proc_type()
465 if ((aep = getauevnum((au_event_t)atoi(optstr))) != in proc_type()
470 (void) sprintf(errbuf, gettext("invalid event (%s)"), optstr); in proc_type()
522 proc_id(char *optstr, int opt) in proc_id() argument
532 return (proc_user(optstr, &m_usere)); in proc_id()
540 return (proc_group(optstr, &m_groupe)); in proc_id()
548 return (proc_user(optstr, &m_userr)); in proc_id()
556 return (proc_user(optstr, &m_usera)); in proc_id()
[all …]
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipfzone.c34 getzonearg(int argc, char *argv[], const char *optstr) in getzonearg() argument
49 while ((c = getopt(argc, argv, optstr)) != -1) { in getzonearg()
69 getzoneopt(int argc, char *argv[], const char *optstr) in getzoneopt() argument
79 while ((c = getopt(argc, argv, optstr)) != -1) { in getzoneopt()
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) {
/titanic_41/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c325 cvt_metal_option(char *optstr) in cvt_metal_option() argument
330 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_metal_option()
335 if ((value = strchr(optstr, '=')) == NULL) in cvt_metal_option()
338 namlen = value - optstr; in cvt_metal_option()
343 if (strncmp(optstr, "console", namlen) == 0) { in cvt_metal_option()
348 if ((strncmp(optstr, "ttya-mode", namlen) == 0) || in cvt_metal_option()
349 (strncmp(optstr, "ttyb-mode", namlen) == 0)) { in cvt_metal_option()
350 char *port = strndupa(optstr, namlen); in cvt_metal_option()
370 cvt_hyper_option(char *optstr) in cvt_hyper_option() argument
382 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_hyper_option()
[all …]
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dmisc.c399 register const char *optstr = sh_optbg; in b_bg() local
401 optstr = sh_optfg; in b_bg()
403 optstr = sh_optdisown; in b_bg()
404 while((n = optget(argv,optstr))) switch(n) in b_bg()
510 register const char *optstr; in b_vpath() local
515 optstr = sh_optvpath; in b_vpath()
520 optstr = sh_optvmap; in b_vpath()
523 while(n = optget(argv, optstr)) switch(n) in b_vpath()
/titanic_41/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c380 char *optstr; in rlmount() local
395 optstr = MNTOPT_RO; in rlmount()
399 optstr = MNTOPT_RW; in rlmount()
406 optstr, MNTOPT_NOSUID, MNTOPT_LARGEFILES); in rlmount()
/titanic_41/usr/src/cmd/tbl/
H A Dt3.c21 struct optstr {char *optnam; int *optadd;} options [] = { struct
50 struct optstr *lp; in getcomm()
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_main.c239 const char optstr[] = "f:o:R:V"; in main() local
250 while ((c = getopt(argc, argv, optstr)) != EOF) { in main()
289 for (optind = 1; (c = getopt(argc, argv, optstr)) != EOF; ) { in main()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c482 blksize_handler(char *optstr) in blksize_handler() argument
491 value = (int)strtol(optstr, &endp, 10); in blksize_handler()
504 timeout_handler(char *optstr) in timeout_handler() argument
513 value = (int)strtol(optstr, &endp, 10); in timeout_handler()
528 tsize_handler(char *optstr) in tsize_handler() argument
537 value = strtoll(optstr, &endp, 10); in tsize_handler()
/titanic_41/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java119 err(String format, char c, String optstr) in err() argument
124 p.printf(format, progname, (optstr == null ? in err()
125 Character.toString(c) : optstr.substring(2))); in err()
/titanic_41/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) in main()
/titanic_41/usr/src/cmd/pcidr/
H A Dpcidr.c546 char *optstr = NULL; in main() local
566 optstr = "hsv:l:"; in main()
570 optstr = "sv:l:"; in main()
573 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/titanic_41/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c513 char *optstr; in ap_opt_parse() local
526 if ((optstr = strdup(options)) == NULL) { in ap_opt_parse()
531 a->options = optstr; in ap_opt_parse()
536 while (*optstr != '\0') { in ap_opt_parse()
545 opt = getsubopt(&optstr, ap_opt_names, &value); in ap_opt_parse()
/titanic_41/usr/src/cmd/pgrep/
H A Dpgrep.c597 const char *optstr; in main() local
622 optstr = PKILL_OPTS; in main()
625 optstr = PGREP_OPTS; in main()
630 while ((c = getopt(argc, argv, optstr)) != (int)EOF) { in main()
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_mount.c1657 char optstr[MAX_MNTOPT_STR]; in loopback_mount_shared_fs() local
1695 (void) strlcpy(optstr, MNTOPT_NOSUB, sizeof (optstr)); in loopback_mount_shared_fs()
1699 NULL, 0, optstr, sizeof (optstr)) != 0) { in loopback_mount_shared_fs()
1738 char optstr[MAX_MNTOPT_STR]; in loopback_mount_zonepath() local
1834 (void) strlcpy(optstr, MNTOPT_NOSUB, sizeof (optstr)); in loopback_mount_zonepath()
1838 NULL, 0, optstr, sizeof (optstr)) != 0) { in loopback_mount_zonepath()
/titanic_41/usr/src/lib/libast/common/include/
H A Doption.h100 extern int optstr(const char*, const char*);
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_41/usr/src/cmd/tnf/tnfdump/
H A Dmain.c99 char *optstr = "rx"; in scanargs() local
101 while ((c = getopt(argc, argv, optstr)) != EOF) { in scanargs()
/titanic_41/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c141 char *optstr; in main() local
171 optstr = MAC_OPTIONS; in main()
173 optstr = DIGEST_OPTIONS; in main()
177 while (!errflag && (c = getopt(argc, argv, optstr)) != -1) { in main()
/titanic_41/usr/src/lib/madv/common/
H A Dmadv.c305 advice_opts(char *optstr, const char *execname, char *cfgfile, int lineno) in advice_opts() argument
311 while (*optstr != '\0') { in advice_opts()
312 opt = getsubopt(&optstr, legal_optstr, &value); in advice_opts()
/titanic_41/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c241 const char *optstr = "d:n:"; in main() local
257 while ((c = getopt(argc, argv, optstr)) != EOF) { in main()
/titanic_41/usr/src/cmd/tnf/prex/
H A Dmain.c571 char *optstr = "l:o:p:s:tkv:"; /* debugging options */ in scanargs() local
573 char *optstr = "l:o:p:s:tk"; /* production options */ in scanargs() local
584 while ((c = getopt(argc, argv, optstr)) != EOF) { in scanargs()

123