Searched refs:optarg (Results 151 - 175 of 748) sorted by relevance

1234567891011>>

/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c59 * getopt opterr optind optopt optreset optarg are all in defines.h which is
79 char *optarg; /* argument associated with option */ variable
242 optarg = has_equal;
248 optarg = nargv[optind++];
252 && (optarg == NULL)) {
324 optarg = NULL;
356 optarg = nargv[optind++];
463 optarg = NULL;
465 optarg = place;
474 optarg
[all...]
/freebsd-10.0-release/lib/libc/stdlib/
H A Dgetopt_long.c77 char *optarg; /* argument associated with option */ variable
298 optarg = has_equal;
304 optarg = nargv[optind++];
308 && (optarg == NULL)) {
393 optarg = NULL;
429 optarg = nargv[optind++];
551 optarg = NULL;
553 optarg = place;
562 optarg = nargv[optind];
/freebsd-10.0-release/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c90 if (!bt_aton(optarg, &addr)) {
93 if ((he = bt_gethostbyname(optarg)) == NULL)
94 errx(1, "%s: %s", optarg, hstrerror(h_errno));
101 channel = strtoul(optarg, &ep, 10);
104 switch (tolower(optarg[0])) {
123 optarg);
134 if (optarg[0] != '/')
135 asprintf(&tty, "%s%s", _PATH_DEV, optarg);
137 tty = optarg;
/freebsd-10.0-release/bin/stty/
H A Dstty.c82 if ((i.fd = open(optarg, O_RDONLY | O_NONBLOCK)) < 0)
83 err(1, "%s", optarg);
84 file = optarg;
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/
H A Dchkargs.c110 if ((p = strchr(optarg, '=')) != NULL)
113 if (dtrace_setopt(dtp, optarg, p) != 0) {
115 "option -x %s: %s\n", g_progname, optarg,
/freebsd-10.0-release/sbin/kldstat/
H A Dkldstat.c100 fileid = (int)strtoul(optarg, &p, 10);
105 modname = optarg;
108 filename = optarg;
/freebsd-10.0-release/usr.bin/brandelf/
H A Dbrandelf.c75 type = atoi(optarg);
78 optarg);
93 strtype = optarg;
/freebsd-10.0-release/usr.bin/fetch/
H A Dfetch.c895 B_size = (off_t)strtol(optarg, &end, 10);
896 if (*optarg == '\0' || *end != '\0')
897 errx(1, "invalid buffer size (%s)", optarg);
904 c_dirname = optarg;
913 f_filename = optarg;
920 h_hostname = optarg;
924 i_filename = optarg;
931 o_filename = optarg;
941 N_filename = optarg;
963 S_size = (off_t)strtol(optarg,
[all...]
/freebsd-10.0-release/usr.sbin/bluetooth/sdpd/
H A Dmain.c76 control = optarg;
84 group = optarg;
88 user = optarg;
/freebsd-10.0-release/usr.sbin/chroot/
H A Dchroot.c77 user = optarg;
82 group = optarg;
87 grouplist = optarg;
/freebsd-10.0-release/usr.sbin/spray/
H A Dspray.c75 count = atoi(optarg);
78 delay = atoi(optarg);
81 length = atoi(optarg);
/freebsd-10.0-release/contrib/amd/hlfsd/
H A Dhlfsd.c183 if (!optarg || optarg[0] != '/') {
185 am_get_progname(), optarg);
188 alt_spooldir = optarg;
192 if (!atoi(optarg)) {
194 am_get_progname(), optarg);
197 cache_interval = atoi(optarg);
209 hlfs_group = optarg;
213 if (!atoi(optarg)) {
215 am_get_progname(), optarg);
[all...]
/freebsd-10.0-release/usr.bin/patch/
H A Dpatch.c508 if (optarg == NULL)
516 simple_backup_suffix = savestr(optarg);
519 origprae = savestr(optarg);
528 if (chdir(optarg) < 0)
529 pfatal("can't cd to %s", optarg);
533 if (!isalpha((unsigned char)*optarg) && *optarg != '_')
536 "#ifdef %s\n", optarg);
538 "#ifndef %s\n", optarg);
540 "#endif /* %s */\n", optarg);
[all...]
/freebsd-10.0-release/gnu/usr.bin/grep/
H A Dgrep.c1360 extern char *optarg;
1436 context_length_arg (optarg, &out_after);
1440 context_length_arg (optarg, &out_before);
1446 context_length_arg (optarg, &default_context);
1450 if (strcmp (optarg, "read") == 0)
1452 else if (strcmp (optarg, "skip") == 0)
1507 setmatcher (optarg);
1523 if (strcmp (optarg, "read") == 0)
1525 else if (strcmp (optarg, "skip") == 0)
1527 else if (strcmp (optarg, "recurs
[all...]
/freebsd-10.0-release/contrib/netcat/
H A Dnetcat.c170 if (strcasecmp(optarg, "connect") == 0)
172 else if (strcmp(optarg, "4") == 0)
174 else if (strcmp(optarg, "5") == 0)
184 ipsec_policy[ipsec_count++ % 2] = optarg;
201 iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
203 errx(1, "interval %s: %s", errstr, optarg);
221 Pflag = optarg;
224 pflag = optarg;
230 sflag = optarg;
241 rtableid = (unsigned int)strtonum(optarg,
[all...]
/freebsd-10.0-release/contrib/diff/lib/
H A Dgetopt.h58 extern char *optarg;
99 a compiled-in constant, such as set a value from `optarg', set the
134 takes an argument, to be placed in `optarg'.
/freebsd-10.0-release/contrib/groff/src/include/
H A Dgetopt_int.h42 char *optarg;
41 char *optarg; member in struct:_getopt_data
/freebsd-10.0-release/contrib/groff/src/roff/groff/
H A Dgroff.cpp144 commands[SOELIM_INDEX].append_arg(buf, optarg);
146 commands[TROFF_INDEX].append_arg(buf, optarg);
149 Pargs += optarg;
230 if (strcmp(optarg, "html") == 0) {
234 if (strcmp(optarg, "Xps") == 0) {
240 device = optarg;
243 font::command_line_font_dir(optarg);
246 Fargs += optarg;
249 Fargs = optarg;
260 commands[TROFF_INDEX].append_arg(buf, optarg);
[all...]
/freebsd-10.0-release/contrib/sendmail/libmilter/
H A Dexample.c274 if (optarg == NULL || *optarg == '\0')
277 optarg);
280 (void) smfi_setconn(optarg);
/freebsd-10.0-release/sbin/atm/atmconfig/
H A Datmconfig.h93 void *optarg; member in struct:option
/freebsd-10.0-release/sbin/mount_unionfs/
H A Dmount_unionfs.c149 p = strchr(optarg, '=');
154 if (strcmp(optarg, "gid") == 0) {
158 else if (strcmp(optarg, "uid") == 0) {
163 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
/freebsd-10.0-release/share/examples/libusb20/
H A Dbulk.c165 in_ep = strtol(optarg, NULL, 0);
169 out_ep = strtol(optarg, NULL, 0);
173 pid = strtol(optarg, NULL, 0);
177 vid = strtol(optarg, NULL, 0);
/freebsd-10.0-release/usr.bin/iconv/
H A Diconv.c188 if (optarg != NULL)
189 opt_f = strdup(optarg);
193 if (optarg != NULL)
194 opt_t = strdup(optarg);
/freebsd-10.0-release/usr.bin/limits/
H A Dlimits.c284 optarg = NULL;
298 cls = optarg;
301 if ((pwd = getpwnam(optarg)) == NULL) {
302 if (!isdigit(*optarg) ||
303 (pwd = getpwuid(atoi(optarg))) == NULL) {
304 warnx("invalid user `%s'", optarg);
319 if (!isdigit(*optarg) || (pid = atoi(optarg)) < 0) {
320 warnx("invalid pid `%s'", optarg);
328 if (optarg
[all...]
/freebsd-10.0-release/usr.sbin/bluetooth/ath3kfw/
H A Dath3kfw.c87 if (parse_ugen_name(optarg, &bus, &addr) < 0)
92 firmware = optarg;
95 product_id = strtol(optarg, NULL, 0);
98 vendor_id = strtol(optarg, NULL, 0);

Completed in 419 milliseconds

1234567891011>>