Searched refs:optstr (Results 26 - 50 of 54) sorted by relevance

123

/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/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/allocate/
H A Dallocate3.c1843 char *optstr = NULL; local
1855 if ((optstr = (char *)malloc(len)) == NULL)
1857 (void) snprintf(optstr, len, "%s%s%s", DAOPT_ZONE, KV_ASSIGN,
1859 devinfo.devopts = optstr;
1865 if (optstr)
1866 free(optstr);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h188 #undef optstr macro
189 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h167 #undef optstr macro
168 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h188 #undef optstr macro
189 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h167 #undef optstr macro
168 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h188 #undef optstr macro
189 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h167 #undef optstr macro
168 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_map.h188 #undef optstr macro
189 #define optstr _ast_optstr macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h167 #undef optstr macro
168 #define optstr _ast_optstr macro
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c218 static char *optstr; variable
395 optstr = "b:cCdDfFnqvV/";
397 optstr = "b:cCdfFnqvV/";
400 while ((ch = getopt(argc, argv, optstr)) != EOF) {
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c949 char *cp = NULL, *optstr = NULL, *attr = NULL, *val = NULL; local
959 optstr = config_calloc_check(1, strlen(selectp) + 1);
960 if (optstr == NULL) {
964 (void) strcpy(optstr, selectp);
969 cp = attr = optstr;
1033 S_FREE(optstr);
/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/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/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c198 char *optstr; local
229 optstr = cmd->options;
232 while (!errflag && (c = getopt(argc, argv, optstr)) != -1) {
/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) {
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c973 char *saveopt, *optstr, *opts, *newopts, *val; local
985 optstr = opts = strdup(mnt->mnt_mntopts);
1162 free(optstr);
1228 free(optstr);
1253 free(optstr);
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1196 char optstr[MAX_MNTOPT_STR]; local
1296 optstr[0] = '\0';
1298 (void) strlcpy(optstr, fsptr->zone_fs_options->zone_fsopt_opt,
1299 sizeof (optstr));
1302 (void) strlcat(optstr, ",", sizeof (optstr));
1303 (void) strlcat(optstr, optptr->zone_fsopt_opt,
1304 sizeof (optstr));
1308 if ((rv = domount(zlogp, fsptr->zone_fs_type, optstr,
3927 char optstr[] local
[all...]
/illumos-gate/usr/src/cmd/sgs/nm/common/
H A Dnm.c168 char *optstr = OPTSTR; /* option string used by getopt() */ local
210 while ((optchar = getopt(argc, argv, optstr)) != -1) {
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c1455 const char *optstr = "?abB:C:Df:G:FhnN:o:O:pP:sS:tvxXz:"; local
1467 getzoneopt(argc, argv, optstr);
1469 while ((c = getopt(argc, argv, optstr)) != -1)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A Ddns-sd.c1265 static int getfirstoption(int argc, char **argv, const char *optstr, int *pOptInd) argument
1266 // Return the recognized option in optstr and the option index of the next arg.
1273 NULL != strchr(optstr, argv[i][1]))
1283 int o = getopt(argc, (char *const *)argv, optstr);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtype.c780 void nv_addtype(Namval_t *np, const char *optstr, Optdisc_t *op, size_t optsz) argument
787 if(optstr)
788 cp->optstring = optstr;

Completed in 588 milliseconds

123