Searched refs:optarg (Results 176 - 200 of 837) sorted by relevance

1234567891011>>

/freebsd-11-stable/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-11-stable/usr.sbin/chroot/
H A Dchroot.c77 user = optarg;
82 group = optarg;
87 grouplist = optarg;
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Driostream.c602 dst_addr = optarg;
605 src_addr = optarg;
608 if (!strncasecmp("ip", optarg, 2)) {
610 } else if (!strncasecmp("gid", optarg, 3)) {
619 buffer_size = atoi(optarg);
622 inline_size = atoi(optarg);
626 iterations = atoi(optarg);
630 transfer_count = atoi(optarg);
633 if (!strncasecmp("all", optarg, 3)) {
637 transfer_size = atoi(optarg);
[all...]
H A Drdma_xclient.c143 server = optarg;
146 strncpy(port, optarg, sizeof port - 1);
149 switch (tolower(optarg[0])) {
/freebsd-11-stable/usr.bin/brandelf/
H A Dbrandelf.c77 type = atoi(optarg);
80 optarg);
95 strtype = optarg;
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/
H A Dmain.c79 control = optarg;
87 group = optarg;
91 user = optarg;
/freebsd-11-stable/usr.bin/fetch/
H A Dfetch.c924 B_size = (off_t)strtol(optarg, &end, 10);
925 if (*optarg == '\0' || *end != '\0')
926 errx(1, "invalid buffer size (%s)", optarg);
933 c_dirname = optarg;
942 f_filename = optarg;
949 h_hostname = optarg;
953 i_filename = optarg;
960 o_filename = optarg;
970 N_filename = optarg;
992 S_size = (off_t)strtol(optarg,
[all...]
/freebsd-11-stable/usr.sbin/spray/
H A Dspray.c77 count = atoi(optarg);
80 delay = atoi(optarg);
83 length = atoi(optarg);
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_user.c752 cfg = optarg;
802 name = optarg;
805 id = pw_checkid(optarg, UID_MAX);
880 cfg = optarg;
886 name = optarg;
889 id = pw_checkid(optarg, UID_MAX);
895 nispasswd = optarg;
1223 cfg = optarg;
1229 name = pw_checkname(optarg, 0);
1232 userid = optarg;
[all...]
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhlfsd.c180 if (!optarg || optarg[0] != '/') {
182 am_get_progname(), optarg);
185 alt_spooldir = optarg;
189 if (!atoi(optarg)) {
191 am_get_progname(), optarg);
194 cache_interval = atoi(optarg);
206 hlfs_group = optarg;
210 if (!atoi(optarg)) {
212 am_get_progname(), optarg);
[all...]
/freebsd-11-stable/usr.sbin/spi/
H A Dspi.c189 if (optarg[0] == 'r') {
190 if (optarg[1] == 'w' && optarg[2] == 0) {
193 else if (optarg[1] == 0) {
197 else if (optarg[0] == 'w' && optarg[1] == 0) {
206 if (!optarg[0]) { /* unlikely */
211 if (optarg[0] == '/')
212 strlcpy(dev_name, optarg,
216 "/dev/%s", optarg);
[all...]
/freebsd-11-stable/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-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c112 extern char *optarg;
125 ai.ai_family = atoi(optarg);
128 ai.ai_protocol = atoi(optarg);
137 ai.ai_socktype = atoi(optarg);
/freebsd-11-stable/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-11-stable/contrib/elftoolchain/brandelf/
H A Dbrandelf.c111 type = atoi(optarg);
114 "-f: %s", optarg);
132 if ((type = elftype(optarg)) == -1) {
133 warnx("ERROR: invalid ELF type '%s'", optarg);
/freebsd-11-stable/contrib/groff/src/include/
H A Dgetopt_int.h42 char *optarg;
41 char *optarg; member in struct:_getopt_data
/freebsd-11-stable/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-11-stable/sbin/atm/atmconfig/
H A Datmconfig.h93 void *optarg; member in struct:option
/freebsd-11-stable/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-11-stable/sbin/nvmecontrol/
H A Dpower.c141 power_val = strtol(optarg, &end, 0);
143 fprintf(stderr, "Invalid power state number: %s\n", optarg);
148 workload = strtol(optarg, &end, 0);
150 fprintf(stderr, "Invalid workload hint: %s\n", optarg);
/freebsd-11-stable/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-11-stable/contrib/libxo/xopo/
H A Dxopo.c131 opt_input = optarg;
139 opt_output = optarg;
143 opt_options = optarg;
147 opt_simplify = optarg;
/freebsd-11-stable/contrib/netcat/
H A Dnetcat.c183 if (strcasecmp(optarg, "connect") == 0)
185 else if (strcmp(optarg, "4") == 0)
187 else if (strcmp(optarg, "5") == 0)
197 ipsec_policy[ipsec_count++ % 2] = optarg;
217 iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
219 errx(1, "interval %s: %s", errstr, optarg);
237 Pflag = optarg;
240 pflag = optarg;
246 sflag = optarg;
257 rtableid = (int)strtonum(optarg,
[all...]
/freebsd-11-stable/usr.bin/limits/
H A Dlimits.c295 optarg = NULL;
310 cls = optarg;
313 if ((pwd = getpwnam(optarg)) == NULL) {
314 if (!isdigit(*optarg) ||
315 (pwd = getpwuid(atoi(optarg))) == NULL) {
316 warnx("invalid user `%s'", optarg);
331 if (!isdigit(*optarg) || (pid = atoi(optarg)) < 0) {
332 warnx("invalid pid `%s'", optarg);
340 if (optarg
[all...]
/freebsd-11-stable/usr.bin/iconv/
H A Diconv.c190 if (optarg != NULL)
191 opt_f = optarg;
195 if (optarg != NULL)
196 opt_t = optarg;

Completed in 310 milliseconds

1234567891011>>