Searched refs:optarg (Results 101 - 125 of 837) sorted by relevance

1234567891011>>

/freebsd-11-stable/sbin/mount/
H A Dmount_fs.c97 getmntopts(optarg, mopts, &mntflags, 0);
98 p = strchr(optarg, '=');
104 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
/freebsd-11-stable/usr.sbin/daemon/
H A Ddaemon.c111 logfac = get_log_mapping(optarg, facilitynames);
117 stdmask = strtol(optarg, &p, 10);
118 if (p == optarg || stdmask < 0 || stdmask > 3)
122 outfn = optarg;
125 pidfile = optarg;
128 ppidfile = optarg;
134 restart = strtol(optarg, &p, 0);
135 if (p == optarg || restart < 1)
139 logpri = get_log_mapping(optarg, prioritynames);
148 title = optarg;
[all...]
/freebsd-11-stable/contrib/flex/
H A Dscanopt.h114 * optarg - Return argument, may be NULL.
127 (scanopt_t * scanner, char **optarg,
/freebsd-11-stable/contrib/gcclibs/include/
H A Dgetopt.h36 extern char *optarg;
76 a compiled-in constant, such as set a value from `optarg', set the
/freebsd-11-stable/contrib/gdb/gdb/mi/
H A Dmi-cmd-env.c121 char *optarg; local
145 &optind, &optarg);
193 char *optarg; local
217 &optind, &optarg);
H A Dmi-cmd-file.c37 char *optarg; local
/freebsd-11-stable/contrib/gdb/include/
H A Dgetopt.h36 extern char *optarg;
76 a compiled-in constant, such as set a value from `optarg', set the
/freebsd-11-stable/tools/tools/ether_reflect/
H A Dether_reflect.c80 user_addr = optarg;
83 proto = optarg;
86 interface = optarg;
92 timeout = atoi(optarg);
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dsminfo.c77 static int process_opt(void *context, int ch, char *optarg) argument
81 act = strtoul(optarg, 0, 0);
84 state = strtoul(optarg, 0, 0);
87 prio = strtoul(optarg, 0, 0);
/freebsd-11-stable/usr.bin/dc/
H A Ddc.c94 src_setstring(&src, optarg);
102 fd = open(optarg, O_RDONLY);
104 err(1, "cannot open file %s", optarg);
105 procfd(fd, optarg);
/freebsd-11-stable/usr.bin/head/
H A Dhead.c86 bytecnt = strtoimax(optarg, &ep, 10);
88 errx(1, "illegal byte count -- %s", optarg);
91 linecnt = strtol(optarg, &ep, 10);
93 errx(1, "illegal line count -- %s", optarg);
/freebsd-11-stable/usr.sbin/ypset/
H A Dypset.c130 domainname = optarg;
133 if (inet_aton(optarg, &sin.sin_addr) == 0) {
134 hent = gethostbyname(optarg);
136 errx(1, "host %s unknown\n", optarg);
/freebsd-11-stable/usr.sbin/digictl/
H A Ddigictl.c71 if (strcasecmp(optarg, "disable") == 0)
73 else if (strcasecmp(optarg, "enable") == 0)
75 else if (strcasecmp(optarg, "query") == 0)
83 debug = atoi(optarg);
/freebsd-11-stable/usr.bin/truss/
H A Dmain.c92 pid = atoi(optarg);
117 fname = optarg;
120 trussinfo->strsize = strtonum(optarg, 0, INT_MAX, &errstr);
122 errx(1, "maximum string size is %s: %s", errstr, optarg);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DGetOptInc.h32 extern char *optarg;
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp406 if (optarg && optarg[0])
407 log_file.assign(optarg);
411 if (optarg && optarg[0])
412 log_channels = StringRef(optarg);
416 if (optarg && optarg[0])
417 named_pipe_path = optarg;
421 if (optarg
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java51 private String optarg = null; field in class:Getopt
252 return optarg;
372 optarg = null;
395 * of optarg as follows:
398 * argv, then optarg contains the next element of argv, and
403 * 2. Otherwise, optarg points to the string following the
418 optarg = args[optind++].substring(_sp + 1);
425 optarg = longoptarg.get();
430 optarg = null;
433 optarg
[all...]
/freebsd-11-stable/usr.bin/hexdump/
H A Dodsyntax.c79 switch (*optarg) {
81 fshead->nextfu->fmt[TYPE_OFFSET] = *optarg;
83 *optarg;
90 errx(1, "%s: invalid address base", optarg);
137 skip = strtoll(optarg, &end, 0);
145 errx(1, "%s: invalid skip amount", optarg);
148 if ((length = atoi(optarg)) <= 0)
149 errx(1, "%s: invalid length", optarg);
158 odformat(optarg);
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c98 if (!bt_aton(optarg, &dst)) {
99 if ((he = bt_gethostbyname(optarg)) == NULL)
100 errx(1, "%s: %s", optarg, hstrerror(h_errno));
107 count = strtol(optarg, &endp, 10);
117 wait = strtol(optarg, &endp, 10);
127 if (!bt_aton(optarg, &src)) {
128 if ((he = bt_gethostbyname(optarg)) == NULL)
129 errx(1, "%s: %s", optarg, hstrerror(h_errno));
136 echo_size = strtol(optarg, &endp, 10);
/freebsd-11-stable/sbin/ping/
H A Dping.c319 ltmp = strtol(optarg, &ep, 0);
320 if (*ep || ep == optarg || ltmp <= 0)
323 optarg);
342 ltmp = strtol(optarg, &ep, 0);
343 if (*ep || ep == optarg || ltmp <= 0)
345 optarg);
356 ltmp = strtol(optarg, &ep, 0);
357 if (*ep || ep == optarg || ltmp <= 0)
359 optarg);
370 ltmp = strtol(optarg,
[all...]
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dmain.c840 sac = lookup_sec_act(ecp, optarg, 1);
855 add_to_symop_list(ecp, optarg, NULL, SYMOP_KEEPG);
859 set_input_target(ecp, optarg);
862 sac = lookup_sec_act(ecp, optarg, 1);
870 add_to_symop_list(ecp, optarg, NULL, SYMOP_KEEP);
873 add_to_symop_list(ecp, optarg, NULL, SYMOP_LOCALIZE);
876 add_to_symop_list(ecp, optarg, NULL, SYMOP_STRIP);
879 set_output_target(ecp, optarg);
891 add_to_symop_list(ecp, optarg, NULL, SYMOP_WEAKEN);
900 ecp->debuglink = optarg;
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dgetopt.c117 char *optarg = NULL;
494 ARGV-element, is returned in `optarg'. Two colons mean an option that
496 it is returned in `optarg', otherwise `optarg' is set to zero.
530 optarg = NULL;
618 optarg = argv[optind++];
704 optarg = nameend + 1;
730 optarg = argv[optind++];
817 optarg = nextchar;
840 optarg
116 char *optarg = NULL; variable
[all...]
/freebsd-11-stable/sys/dev/aic7xxx/aicasm/
H A Daicasm.c148 if (strcmp(optarg, "s") == 0) {
151 } else if (strcmp(optarg, "p") == 0) {
165 stock_include_file = optarg;
169 if ((listfile = fopen(optarg, "w")) == NULL) {
170 perror(optarg);
173 listfilename = optarg;
177 if (strcmp(optarg, "ostdinc")) {
179 appname, ch, optarg);
185 if ((ofile = fopen(optarg, "w")) == NULL) {
186 perror(optarg);
[all...]
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_group.c269 cfg = optarg;
317 name = optarg;
320 id = pw_checkid(optarg, GID_MAX);
374 cfg = optarg;
380 name = optarg;
383 id = pw_checkid(optarg, GID_MAX);
505 cfg = optarg;
511 name = optarg;
514 id = pw_checkid(optarg, GID_MAX);
520 fd = pw_checkfd(optarg);
[all...]
/freebsd-11-stable/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c75 extern char *optarg;
653 strptime(optarg, "%Y%m%d%H%M%S", &tm);
666 strptime(optarg, "%Y%m%d%H%M%S", &tm);
674 if (0 != getauditflagsbin(optarg, &maskp)) {
687 strptime(optarg, "%Y%m%d", &tm);
700 p_euid = strtol(optarg, &converr, 10);
703 if ((pw = getpwnam(optarg)) == NULL)
711 p_egid = strtol(optarg, &converr, 10);
714 if ((grp = getgrnam(optarg)) == NULL)
722 p_rgid = strtol(optarg,
[all...]

Completed in 383 milliseconds

1234567891011>>