Searched refs:optarg (Results 51 - 75 of 757) sorted by relevance

1234567891011>>

/freebsd-10.1-release/usr.bin/env/
H A Denv.c77 altpath = strdup(optarg);
84 split_spaces(optarg, &optind, &argc, &argv);
88 fprintf(stderr, "#env unset:\t%s\n", optarg);
89 rtrn = unsetenv(optarg);
91 err(EXIT_FAILURE, "unsetenv %s", optarg);
/freebsd-10.1-release/usr.bin/truncate/
H A Dtruncate.c73 rname = optarg;
76 if (expand_number(optarg, &sz) == -1)
78 "invalid size argument `%s'", optarg);
79 if (*optarg == '+' || *optarg == '-')
/freebsd-10.1-release/usr.sbin/bootparamd/bootparamd/
H A Dmain.c58 if (isdigit((unsigned char)*optarg)) {
59 route_addr = inet_addr(optarg);
62 he = gethostbyname(optarg);
67 errx(1, "no such host %s", optarg);
71 bootpfile = optarg;
/freebsd-10.1-release/usr.sbin/memcontrol/
H A Dmemcontrol.c165 owner = strdup(optarg);
207 mrd.mr_base = strtouq(optarg, &ep, 0);
208 if ((ep == optarg) || (*ep != 0))
212 mrd.mr_len = strtouq(optarg, &ep, 0);
213 if ((ep == optarg) || (*ep != 0))
217 if ((*optarg == 0) || (strlen(optarg) > 7))
219 strcpy(mrd.mr_owner, optarg);
268 mrd.mr_base = strtouq(optarg, &ep, 0);
269 if ((ep == optarg) || (*e
[all...]
/freebsd-10.1-release/contrib/binutils/ld/
H A Dlexsup.c708 lang_add_input_file (optarg, lang_input_file_is_file_enum, NULL);
717 if (strcmp (optarg, "archive") == 0)
719 else if (strcmp (optarg, "shared") == 0
720 || strcmp (optarg, "default") == 0)
723 einfo (_("%P%F: unrecognized -a option `%s'\n"), optarg);
727 if (strcmp (optarg, "definitions") == 0)
729 else if (strcmp (optarg, "nodefinitions") == 0)
731 else if (strcmp (optarg, "nosymbolic") == 0)
733 else if (strcmp (optarg, "pure-text") == 0)
736 einfo (_("%P%F: unrecognized -assert option `%s'\n"), optarg);
[all...]
/freebsd-10.1-release/contrib/gcclibs/libcpp/
H A Dmakedepend.c92 case 'D': add_clm (optarg, false); break;
93 case 'U': add_clm (optarg, true); break;
94 case 'I': add_dir (optarg, false); break;
95 case 'J': add_dir (optarg, true); break;
102 output_file = optarg;
110 vpath = optarg;
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/src/
H A Dsminfo.c126 ca = optarg;
129 ca_port = strtoul(optarg, 0, 0);
147 timeout = strtoul(optarg, 0, 0);
151 act = strtoul(optarg, 0, 0);
154 state = strtoul(optarg, 0, 0);
157 prio = strtoul(optarg, 0, 0);
/freebsd-10.1-release/crypto/heimdal/appl/telnet/telnet/
H A Dmain.c231 if ((tos = parsetos(optarg, "tcp")) < 0)
234 optarg,
245 auth_disable_name(optarg);
258 set_escape_char(optarg);
287 user = optarg;
290 SetNetTrace(optarg);
/freebsd-10.1-release/usr.bin/tip/tip/
H A Dcu.c85 CU = optarg;
94 if (strchr(optarg, '/'))
95 DV = optarg;
97 asprintf(&DV, "/dev/%s", optarg);
100 l = strtol(optarg, &cp, 10);
103 __progname, optarg);
/freebsd-10.1-release/usr.bin/split/
H A Dsplit.c111 "%s: illegal line count", optarg);
115 if ((sufflen = strtol(optarg, &ep, 10)) <= 0 || *ep)
117 "%s: illegal suffix length", optarg);
121 if ((bytecnti = strtoimax(optarg, &ep, 10)) <= 0 ||
124 "%s: illegal byte count", optarg);
134 errx(EX_USAGE, "%s: offset too large", optarg);
143 if ((numlines = strtol(optarg, &ep, 10)) <= 0 || *ep)
145 "%s: illegal line count", optarg);
148 if (!isdigit((unsigned char)optarg[0]) ||
149 (chunks = (size_t)strtoul(optarg,
[all...]
/freebsd-10.1-release/sbin/atm/atmconfig/
H A Dmain.c550 parse_server(optarg);
762 *(int *)m->optarg = 1;
768 optarg = *(*pargv)++;
774 ularg = strtoul(optarg, &end, 0);
779 *(u_int *)m->optarg = (u_int)ularg;
783 larg = strtol(optarg, &end, 0);
788 *(int *)m->optarg = (int)larg;
792 ularg = strtoul(optarg, &end, 0);
797 *(uint32_t *)m->optarg = (uint32_t)ularg;
801 larg = strtol(optarg,
[all...]
/freebsd-10.1-release/bin/pax/
H A Dgetoldopt.c33 optarg = NULL;
63 optarg = argv[optind];
H A Doptions.c211 if ((wrblksz = (int)str_offt(optarg)) <= 0) {
212 paxwarn(1, "Invalid block size %s", optarg);
234 arcname = optarg;
270 if (opt_add(optarg) < 0)
277 for (pt = optarg; *pt != '\0'; ++pt) {
331 if (rep_add(optarg) < 0) {
368 tmp.name = optarg;
374 paxwarn(1, "Unknown -x format: %s", optarg);
392 if ((wrlimit = str_offt(optarg)) <= 0) {
393 paxwarn(1, "Invalid write limit %s", optarg);
[all...]
/freebsd-10.1-release/usr.bin/ktrdump/
H A Dktrdump.c112 if (strlcpy(execfile, optarg, sizeof(execfile))
114 errx(1, "%s: File name too long", optarg);
122 if ((in = open(optarg, O_RDONLY)) == -1)
123 err(1, "%s", optarg);
126 if (strlcpy(corefile, optarg, sizeof(corefile))
128 errx(1, "%s: File name too long", optarg);
132 if ((out = fopen(optarg, "w")) == NULL)
133 err(1, "%s", optarg);
/freebsd-10.1-release/bin/setfacl/
H A Dsetfacl.c126 entry->acl = get_acl_from_file(optarg);
128 err(1, "%s: get_acl_from_file() failed", optarg);
134 entry->acl = get_acl_from_file(optarg);
141 entry_number = strtol(optarg, &end, 10);
142 if (end - optarg != (int)strlen(optarg))
143 errx(1, "%s: invalid entry number", optarg);
145 errx(1, "%s: entry number cannot be less than zero", optarg);
175 entry->acl = acl_from_text(optarg);
177 err(1, "%s", optarg);
[all...]
/freebsd-10.1-release/contrib/groff/src/utils/lookbib/
H A Dlookbib.cpp66 linear_ignore_fields = optarg;
71 long n = strtol(optarg, &ptr, 10);
72 if (n == 0 && ptr == optarg) {
73 error("bad integer `%1' in `t' option", optarg);
/freebsd-10.1-release/tools/tools/ath/ath_prom_read/
H A Dath_prom_read.c102 dumpname = optarg;
105 ifname = optarg;
108 fd = fopen(optarg, "r");
110 err(-1, "Cannot open %s", optarg);
/freebsd-10.1-release/usr.bin/cksum/
H A Dcksum.c86 if (!strcmp(optarg, "1")) {
89 } else if (!strcmp(optarg, "2")) {
92 } else if (!strcmp(optarg, "3")) {
/freebsd-10.1-release/usr.bin/csup/
H A Dmain.c148 error = getaddrinfo(optarg, NULL, NULL, &res);
150 lprintf(-1, "%s: %s\n", optarg,
162 override->co_base = xstrdup(optarg);
165 override->co_colldir = optarg;
168 error = asciitoint(optarg, &deletelim, 0);
181 override->co_host = xstrdup(optarg);
184 pattlist_add(override->co_accepts, optarg);
191 lockfile = optarg;
218 error = asciitoint(optarg, &verbose, 0);
227 error = asciitoint(optarg,
[all...]
/freebsd-10.1-release/usr.bin/nice/
H A Dnice.c79 niceness = strtol(optarg, &ep, 10);
80 if (ep == optarg || *ep != '\0' || errno ||
82 errx(1, "%s: invalid nice value", optarg);
/freebsd-10.1-release/usr.bin/stdbuf/
H A Dstdbuf.c59 ebuf = optarg;
62 ibuf = optarg;
65 obuf = optarg;
/freebsd-10.1-release/usr.bin/xlint/lint2/
H A Dmain2.c120 len = strlen(optarg);
122 (void)sprintf(lname, "llib-l%s.ln", optarg);
140 libs[i] = xstrdup(optarg);
/freebsd-10.1-release/usr.sbin/fifolog/fifolog_create/
H A Dfifolog_create.c64 if (expand_number(optarg, &recsize))
68 if (expand_number(optarg, &reccnt))
72 if (expand_number(optarg, &size))
/freebsd-10.1-release/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c66 w_opt = strtoul(optarg, NULL, 0);
69 s_opt = strtoul(optarg, NULL, 0);
72 z_opt = strtoul(optarg, NULL, 0);
/freebsd-10.1-release/usr.sbin/setfib/
H A Dsetfib.c75 fib = strtol(optarg, &ep, 10);
76 if (ep == optarg || *ep != '\0' || errno ||
79 optarg, numfibs - 1);

Completed in 308 milliseconds

1234567891011>>