Searched refs:optarg (Results 26 - 50 of 837) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.sbin/fifolog/fifolog_reader/
H A Dfifolog_reader.c108 opt_B = strtoul(optarg, NULL, 0);
111 opt_B = get_date(optarg);
113 errx(1, "Didn't understand \"%s\"", optarg);
116 opt_E = strtoul(optarg, NULL, 0);
119 opt_E = get_date(optarg);
121 errx(1, "Didn't understand \"%s\"", optarg);
124 opt_o = optarg;
127 opt_R = optarg;
133 opt_T = optarg;
/freebsd-11-stable/lib/libc/stdlib/
H A Dgetopt.c51 char *optarg; /* argument associated with option */ variable
107 optarg = NULL;
114 optarg = place;
120 optarg = NULL;
122 optarg = nargv[optind];
/freebsd-11-stable/contrib/xz/src/xz/
H A Dargs.c227 "memlimit-compress%", optarg,
234 "memlimit-decompress%", optarg,
240 parse_memlimit("memlimit", "memlimit%", optarg,
246 suffix_set(optarg);
252 optarg, 0, 16384));
340 options_bcj(optarg));
345 options_bcj(optarg));
350 options_bcj(optarg));
355 options_bcj(optarg));
360 options_bcj(optarg));
[all...]
/freebsd-11-stable/contrib/amd/amd/
H A Dget_args.c193 if (*optarg != '/') {
198 gopt.auto_dir = optarg;
202 gopt.am_timeo = atoi(optarg);
208 gopt.sub_domain = optarg;
212 gopt.karch = optarg;
216 gopt.logfile = optarg;
224 gopt.op_sys_ver = optarg;
238 char *dot = strchr(optarg, '.');
242 if (*optarg) {
244 gopt.amfs_auto_timeo[i] = atoi(optarg);
[all...]
/freebsd-11-stable/contrib/libxo/
H A Dlibxo-config.in46 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
47 *) optarg= ;;
52 prefix=$optarg
62 exec_prefix=$optarg
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zinject/
H A Dzinject.c718 if (strcasecmp(optarg, "degrade") == 0) {
720 } else if (strcasecmp(optarg, "fault") == 0) {
724 "must be 'degrade' or 'fault'\n", optarg);
730 raw = optarg;
733 cancel = optarg;
736 device = optarg;
739 ret = parse_delay(optarg, &record.zi_timer,
743 "value: '%s'\n", optarg);
749 if (strcasecmp(optarg, "io") == 0) {
751 } else if (strcasecmp(optarg, "checksu
[all...]
/freebsd-11-stable/contrib/amd/fsinfo/
H A Dfsinfo.c107 autodir = optarg;
113 bootparams_pref = optarg;
119 dumpset_pref = optarg;
123 xstrlcpy(hostname, optarg, sizeof(hostname));
129 exportfs_pref = optarg;
135 fstab_pref = optarg;
141 mount_pref = optarg;
156 xsnprintf(iptr, sizeof(idvbuf), "-%c%s ", ch, optarg);
/freebsd-11-stable/usr.bin/getopt/
H A Dgetopt.c32 if (optarg != NULL)
33 printf(" -%c %s", c, optarg);
/freebsd-11-stable/usr.bin/calendar/
H A Dcalendar.c98 f_dayAfter = atoi(optarg);
104 f_dayBefore = atoi(optarg);
110 DEBUG = optarg;
118 Friday = atoi(optarg);
122 calendarFile = optarg;
126 EastLongitude = strtol(optarg, NULL, 10);
130 f_time = Mktime(optarg);
134 UTCOffset = strtod(optarg, NULL);
/freebsd-11-stable/contrib/mtree/
H A Dmtree.c114 parsetags(&excludetags, optarg);
121 spec1 = fopen(optarg, "r");
123 mtree_err("%s: %s", optarg,
126 spec2 = fopen(optarg, "r");
128 mtree_err("%s: %s", optarg,
135 if (strcmp(optarg, flavors[i].name) == 0) {
146 parsetags(&includetags, optarg);
153 while ((p = strsep(&optarg, " \t,")) != NULL)
158 while ((p = strsep(&optarg, " \t,")) != NULL)
179 if (! setup_getid(optarg))
[all...]
/freebsd-11-stable/contrib/groff/src/preproc/eqn/
H A Dmain.cpp279 config_macro_path.command_line_dir(optarg);
288 if (optarg[0] == '\0' || optarg[1] == '\0')
290 else if (invalid_input_char(optarg[0]))
291 error("bad delimiter `%1'", optarg[0]);
292 else if (invalid_input_char(optarg[1]))
293 error("bad delimiter `%1'", optarg[1]);
295 start_delim = optarg[0];
296 end_delim = optarg[1];
300 set_gfont(optarg);
[all...]
/freebsd-11-stable/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c141 error = smb_ctx_opt(ctx, opt, optarg);
148 pwd = isdigit(optarg[0]) ?
149 getpwuid(atoi(optarg)) : getpwnam(optarg);
151 errx(EX_NOUSER, "unknown user '%s'", optarg);
158 grp = isdigit(optarg[0]) ?
159 getgrgid(atoi(optarg)) : getgrnam(optarg);
161 errx(EX_NOUSER, "unknown group '%s'", optarg);
167 dir_mode = strtol(optarg,
[all...]
/freebsd-11-stable/contrib/dtc/
H A Ddtc.c192 inform = optarg;
195 outform = optarg;
198 outname = optarg;
201 outversion = strtol(optarg, NULL, 0);
204 depname = optarg;
207 reservenum = strtol(optarg, NULL, 0);
210 minsize = strtol(optarg, NULL, 0);
213 padsize = strtol(optarg, NULL, 0);
216 alignsize = strtol(optarg, NULL, 0);
228 cmdline_boot_cpuid = strtoll(optarg, NUL
[all...]
/freebsd-11-stable/sbin/mount_msdosfs/
H A Dmount_msdosfs.c99 uid = a_uid(optarg);
103 gid = a_gid(optarg);
107 mask = a_mask(optarg);
111 dirmask = a_mask(optarg);
116 if (setlocale(LC_CTYPE, optarg) == NULL)
117 err(EX_CONFIG, "%s", optarg);
118 csp = strchr(optarg,'.');
120 err(EX_CONFIG, "%s", optarg);
127 cs_dos = strdup(optarg);
133 p = strchr(optarg, '
[all...]
/freebsd-11-stable/contrib/binutils/gas/
H A Das.c532 if (md_parse_option (optc, optarg) != 0)
543 if (optarg && *optarg)
544 new_argv[new_argc++] = optarg, new_argv[new_argc] = NULL;
555 as_bad (_("unrecognized option -%c%s"), optc, optarg ? optarg : "");
562 if (!strcmp (optarg, "-"))
563 optarg = "";
564 new_argv[new_argc++] = optarg;
604 if (strcmp (optarg, this_emulatio
[all...]
/freebsd-11-stable/contrib/ldns/drill/
H A Ddrill.c214 src = optarg;
233 if (strtok(optarg, "0123456789") != NULL) {
237 verbosity = atoi(optarg);
243 query_file = optarg;
246 answer_file = optarg;
250 answer_file = optarg;
253 query_file = optarg;
261 global_dns_root = read_root_hints(optarg);
263 fprintf(stderr, "Unable to read root hints file %s, aborting\n", optarg);
272 qbuf = (uint16_t)atoi(optarg);
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dgetopt1.c126 if (optarg)
127 printf (" with arg %s", optarg);
156 printf ("option c with value `%s'\n", optarg);
160 printf ("option d with value `%s'\n", optarg);
/freebsd-11-stable/contrib/top/
H A Dgetopt.c43 char *optarg; variable
73 optarg = &argv[optind++][sp+1];
79 optarg = argv[optind++];
86 optarg = NULL;
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dgetopt.h66 extern char *optarg; /* getopt(3) external variables */
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetopt.c51 ROKEN_LIB_VARIABLE char *optarg; /* argument associated with option */ variable
97 optarg = NULL;
103 optarg = place;
119 optarg = nargv[optind];
/freebsd-11-stable/include/
H A Dgetopt.h69 extern char *optarg; /* getopt(3) external variables */
/freebsd-11-stable/contrib/libpcap/missing/
H A Dgetopt.c48 char *optarg; /* argument associated with option */ variable
100 optarg = NULL;
106 optarg = place;
118 optarg = nargv[optind];
/freebsd-11-stable/contrib/gdb/gdb/mi/
H A Dmi-cmd-break.c99 char *optarg; local
102 int opt = mi_getopt ("mi_cmd_break_insert", argc, argv, opts, &optind, &optarg);
119 condition = optarg;
122 ignore_count = atol (optarg);
125 thread = atol (optarg);
202 char *optarg; local
205 int opt = mi_getopt ("mi_cmd_break_watch", argc, argv, opts, &optind, &optarg);
/freebsd-11-stable/usr.bin/truncate/
H A Dtruncate.c75 rname = optarg;
78 do_relative = *optarg == '+' || *optarg == '-';
79 if (expand_number(do_relative ? optarg + 1 : optarg,
82 "invalid size argument `%s'", optarg);
84 sz = (*optarg == '-') ? -(off_t)usz : (off_t)usz;
/freebsd-11-stable/contrib/groff/src/utils/lkbib/
H A Dlkbib.cpp65 linear_ignore_fields = optarg;
70 long n = strtol(optarg, &ptr, 10);
71 if (n == 0 && ptr == optarg) {
72 error("bad integer `%1' in `t' option", optarg);
87 list.add_file(optarg);

Completed in 434 milliseconds

1234567891011>>