Symbol: strtonum
bin/chio/parse.y
345
yylval.v.number = strtonum(buf, LLONG_MIN,
bin/chmod/chmod.c
307
uid = (uid_t)strtonum(s, 0, UID_MAX, &errstr);
bin/chmod/chmod.c
336
gid = (gid_t)strtonum(s, 0, GID_MAX, &errstr);
bin/csh/proc.c
1157
int idx = strtonum(short2str(cp + 1), 1, INT_MAX, &errstr);
bin/csh/proc.c
947
signum = strtonum(short2str(v[1]), 0, NSIG-1, &errstr);
bin/csh/proc.c
965
signum = strtonum(short2str(v[0] + 1), 0, NSIG-1, &errstr);
bin/date/date.c
81
tval = strtonum(optarg, LLONG_MIN, LLONG_MAX, &errstr);
bin/expr/expr.c
115
*r = strtonum(vp->u.s, INT64_MIN, INT64_MAX, errstr);
bin/kill/kill.c
108
numsig = strtonum(*argv, 0, NSIG - 1, &errstr);
bin/kill/kill.c
124
pid = strtonum(*argv, -INT_MAX, INT_MAX, &errstr);
bin/kill/kill.c
74
numsig = strtonum(*argv, 1, NSIG + 127, &errstr);
bin/ksh/exec.c
1273
i = strtonum(s, 1, argct, &errstr);
bin/ksh/history.c
514
rec = strtonum(str, -maxhist, maxhist, &errstr);
bin/ksh/jobs.c
1422
job = strtonum(cp, 1, INT_MAX, &errstr);
bin/ksh/jobs.c
1462
job = strtonum(cp, 1, INT_MAX, &errstr);
bin/ls/ls.c
120
termwidth = strtonum(p, 1, INT_MAX, NULL);
bin/pax/options.c
1319
wrblksz = strtonum(optarg, 0, INT_MAX, &errstr);
bin/pax/options.c
547
maxflt = strtonum(optarg, 0, INT_MAX, &errstr);
bin/pax/tar.c
1584
ts->tv_sec = strtonum(p, 0, MAX_TIME_T, &errstr);
bin/pax/tar.c
1614
*size = strtonum(p, 0, LLONG_MAX, &errstr);
bin/ps/ps.c
109
termwidth = strtonum(cols, 1, INT_MAX, NULL);
bin/ps/ps.c
237
uid = strtonum(optarg, 0, UID_MAX, &errstr);
bin/stty/key.c
163
ip->win.ws_col = strtonum(ip->arg, 0, USHRT_MAX, &error);
bin/stty/key.c
218
speed = strtonum(ip->arg, 0, UINT_MAX, &errstr);
bin/stty/key.c
260
speed = strtonum(ip->arg, 0, UINT_MAX, &errstr);
bin/stty/key.c
286
ip->win.ws_row = strtonum(ip->arg, 0, USHRT_MAX, &error);
bin/stty/stty.c
138
speed = strtonum(*argv, 0, INT_MAX, &error);
bin/test/test.c
533
r = strtonum(buf, 0, INT_MAX, &errstr);
distrib/special/doas/doas.c
51
*uid = strtonum(s, 0, UID_MAX - 1, &errstr);
games/arithmetic/arithmetic.c
118
rangemax = strtonum(optarg, 1, (1ULL<<31)-1, &errstr);
games/banner/banner.c
1132
width = strtonum(optarg, 1, DWIDTH, &errstr);
games/battlestar/cypher.c
69
n = strtonum(buffer, INT_MIN, INT_MAX, &errstr);
games/boggle/mkdict/mkdict.c
70
n = strtonum(argv[1], 1, INT_MAX, &errstr);
games/caesar/caesar.c
83
i = strtonum(argv[1], -25, 25, &errstr);
games/fortune/fortune/fortune.c
364
percent = strtonum(prefix, 0, 100, &errstr);
games/grdc/grdc.c
108
n = strtonum(*argv, 1, UINT_MAX, &errstr);
games/primes/primes.c
121
stop = strtonum(argv[1], 0, BIG, &errstr);
games/primes/primes.c
125
start = strtonum(argv[0], 0, BIG, &errstr);
games/primes/primes.c
164
val = strtonum(buf, 0, BIG, &errstr);
games/rain/rain.c
70
delay = (time_t)strtonum(optarg, 0, 1000, &errstr);
games/snake/snake.c
154
ccnt = strtonum(optarg, 1, INT_MAX, NULL);
games/snake/snake.c
157
lcnt = strtonum(optarg, 1, INT_MAX, NULL);
games/tetris/tetris.c
191
level = (int)strtonum(optarg, MINLEVEL, MAXLEVEL,
games/worm/worm.c
116
start_len = strtonum(argv[1], 1, ((LINES-3) * (COLS-2)) / 3,
games/worms/worms.c
195
delay = (time_t)strtonum(optarg, 0, 1000, &errstr);
games/worms/worms.c
204
length = strtonum(optarg, 2, 1024, &errstr);
games/worms/worms.c
210
number = strtonum(optarg, 1, 100, &errstr);
include/stdlib.h
305
strtonum(const char *, long long, long long, const char **);
lib/libc/asr/asr.c
667
d = strtonum(tok[i] + 6, 1, 16, &e);
lib/libc/asr/asr_utils.c
494
sin6->sin6_scope_id = strtonum(cp, 0, UINT32_MAX, &errstr);
lib/libc/asr/getaddrinfo_async.c
495
port = strtonum(servname, 0, USHRT_MAX, &e);
lib/libc/crypt/cryptutil.c
78
rounds = strtonum(pref + len + 1, 4, 31, &errstr);
lib/libc/gen/disklabel.c
145
return ((u_int)strtonum(t, 0, USHRT_MAX, NULL));
lib/libc/gen/fstab.c
106
_fs_fstab.fs_freq = strtonum(cp, 0, INT_MAX, &errstr);
lib/libc/gen/fstab.c
110
_fs_fstab.fs_passno = strtonum(cp, 0, INT_MAX,
lib/libc/gen/fstab.c
77
_fs_fstab.fs_freq = strtonum(cp, 0,
lib/libc/gen/fstab.c
84
strtonum(cp, 0, INT_MAX,
lib/libc/gen/getgrouplist.c
77
tuid = (uid_t)strtonum(netid, 0, UID_MAX, &errstr);
lib/libc/gen/getgrouplist.c
87
gid = (gid_t)strtonum(start, 0, GID_MAX, &errstr);
lib/libc/hidden/stdlib.h
161
PROTO_NORMAL(strtonum);
lib/libc/net/inet_net_pton.c
232
bits = strtonum(sep, 0, 128, &errstr);
lib/libc/rpc/getrpcent.c
182
d->rpc.r_number = strtonum(num, 0, INT_MAX, &errstr);
lib/libc/stdlib/strtonum.c
66
DEF_WEAK(strtonum);
lib/libcrypto/dh/dh_pmeth.c
161
len = strtonum(value, INT_MIN, INT_MAX, &errstr);
lib/libcrypto/dh/dh_pmeth.c
166
len = strtonum(value, INT_MIN, INT_MAX, &errstr);
lib/libcrypto/dsa/dsa_pmeth.c
253
nbits = strtonum(value, INT_MIN, INT_MAX, &errstr);
lib/libcrypto/dsa/dsa_pmeth.c
260
qbits = strtonum(value, INT_MIN, INT_MAX, &errstr);
lib/libcrypto/ec/ec_pmeth.c
453
cofactor_mode = strtonum(value, -1, 1, &errstr);
lib/libcrypto/rsa/rsa_pmeth.c
674
saltlen = strtonum(value, -3, INT_MAX, &errstr);
lib/libcrypto/rsa/rsa_pmeth.c
686
nbits = strtonum(value, 0, INT_MAX, &errstr);
lib/libcrypto/rsa/rsa_pmeth.c
729
saltlen = strtonum(value, -3, INT_MAX, &errstr);
lib/libcrypto/ts/ts_conf.c
408
secs = strtonum(val->value, 0, INT_MAX,
lib/libcrypto/ts/ts_conf.c
418
millis = strtonum(val->value, 1, 999, &errstr);
lib/libcrypto/ts/ts_conf.c
427
micros = strtonum(val->value, 1, 999, &errstr);
lib/libcrypto/x509/x509_addr.c
1649
prefix_len = strtonum(s + i2, 0, 8 * length, &errstr);
lib/libpcap/fad-getad.c
80
n = strtonum(cp, 0, INT_MAX, &errstr);
lib/libpcap/inet.c
137
n = strtonum(cp, 0, INT_MAX, &errstr);
lib/libpcap/inet.c
224
n = strtonum(cp, 0, INT_MAX, &errstr);
lib/libskey/skeylogin.c
158
mp->n = strtonum(cp, 0, UINT_MAX, &errstr);
lib/libusbhid/usage.c
288
pu = strtonum(sep + len, 0x1, 0xFFFF, &errstr);
lib/libutil/ber.c
465
o->bo_id[o->bo_n++] = strtonum(sp, 0, UINT_MAX, &errstr);
lib/libutil/passwd.c
397
pw->pw_uid = strtonum(p, -1, UID_MAX, &errstr);
lib/libutil/passwd.c
413
pw->pw_gid = strtonum(p, -1, GID_MAX, &errstr);
libexec/comsat/comsat.c
228
offset = strtonum(cp, 0, LLONG_MAX, &errstr);
libexec/ftpd/ftpd.c
286
minuid = strtonum(optarg, 0, UINT_MAX, &errstr);
libexec/ftpd/ftpd.c
308
timeout = strtonum(optarg, 0, INT_MAX, &errstr);
libexec/ftpd/ftpd.c
320
maxtimeout = strtonum(optarg, 0, INT_MAX,
libexec/login_ldap/aldap.c
735
lu->port = strtonum(++forward2, 0, PORT_MAX, &errstr);
libexec/login_ldap/util.c
254
ctx->timeout = strtonum(value, 0, INT_MAX, &errstr);
libexec/login_radius/raddauth.c
222
radius_port = strtonum(rad_service, 1, UINT16_MAX, &errstr);
libexec/login_skey/login_skey.c
95
fd = strtonum(optarg + 3, 0, INT_MAX, &errstr);
libexec/rpc.rstatd/rstatd.c
89
closedown = strtonum(argv[1], 1, INT_MAX, NULL);
libexec/snmpd/snmpd_metrics/mib.c
3302
agentxfd = strtonum(optarg, 0, INT_MAX, &errstr);
libexec/spamd/grey.c
677
expire = strtonum(expires, now,
libexec/spamd/spamd.c
1282
maxblack = strtonum(optarg, 0, INT_MAX, &errstr);
libexec/spamd/spamd.c
1287
maxcon = strtonum(optarg, 1, maxfiles, &errstr);
libexec/spamd/spamd.c
1294
port = strtonum(optarg, 1, USHRT_MAX, &errstr);
libexec/spamd/spamd.c
1325
stutter = strtonum(optarg, 0, 10, &errstr);
libexec/spamd/spamd.c
1330
grey_stutter = strtonum(optarg, 0, 90, &errstr);
libexec/spamd/spamd.c
1344
window = strtonum(optarg, 1, INT_MAX, &errstr);
libexec/spamd/spamd.c
293
ac = strtonum(tmp, 0, UINT_MAX, &errstr);
libexec/spamd/sync.c
184
ttl = (u_int8_t)strtonum(ttlstr, 1, UINT8_MAX, &errstr);
libexec/spamlogd/spamlogd.c
416
whiteexp = strtonum(optarg, 1, (24 * 90), &errstr);
regress/lib/libc/asr/bin/getnameinfo.c
72
port = strtonum(optarg, 0, 65535, &e);
regress/lib/libc/sleep/sleep_test.c
71
i = strtonum(argv[1], 0, INT_MAX, &errstr);
regress/lib/libc/strtonum/strtonumtest.c
30
val = strtonum(p, lb, ub, &q);
regress/lib/libc/sys/atf-c.c
73
test = strtonum(num, 1, INT_MAX, &errstr);
regress/lib/libm/msun/atf-c.c
73
test = strtonum(num, 1, INT_MAX, &errstr);
regress/lib/libpthread/switch/switch.c
95
count = strtonum(optarg, 2, 26, &errstr);
regress/lib/libusbhid/usage/parsetest.c
41
testval = strtonum(argv[1], 0x0, 0xFFFFFFFF, &errstr);
regress/lib/libz/utils_unittest.cc
1715
tst = strtonum(argv[1], 0, max, &errstr);
regress/sbin/ifconfig/ifaddr.c
1513
rdomainid = strtonum(id, 0, RT_TABLEID_MAX, &errmsg);
regress/sbin/ifconfig/ifaddr.c
1541
ttl = strtonum(id, 0, 0xff, &errmsg);
regress/sbin/ifconfig/ifaddr.c
1641
len = strtonum(plen, 0, 32, &errmsg);
regress/sbin/ifconfig/ifaddr.c
1768
len = strtonum(plen, 0, 128, &errmsg);
regress/sbin/ifconfig/ifaddr.c
1865
rdomainid = strtonum(id, 0, RT_TABLEID_MAX, &errmsg);
regress/sbin/ifconfig/ifaddr.c
812
newval = strtonum(val, 0, 1000000, &errmsg);
regress/sbin/pfctl/changerule.c
155
rule_no = strtonum(optarg, -1, 0x7fffffff, &errstr);
regress/sbin/pfctl/changerule.c
176
rule_no = strtonum(optarg, -1, 0x7fffffff, &errstr);
regress/sys/crypto/aes/aestest.c
196
blocksize = (int)strtonum(cp, 128, 128, &errstr);
regress/sys/crypto/aes/aestest.c
203
keysize = (int)strtonum(cp, 128, 256, &errstr);
regress/sys/crypto/aes/aestest.c
258
test = (int)strtonum(cp, 0, 65536, &errstr);
regress/sys/dev/kcov/kcov.c
103
frac = strtonum(optarg, 1, 100, &errstr);
regress/sys/kern/clock_gettime/monotonicrelapse.c
44
nthreads = strtonum(argv[1], 1, INT_MAX, &errstr);
regress/sys/kern/flock/flock.c
1912
testnum = strtonum(argv[0], 1, test_count, &errstr);
regress/sys/kern/flock/lockf.c
130
testnum = strtonum(argv[0], 1, test_count, &errstr);
regress/sys/kern/fork-exit/fork-exit.c
230
heap = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/kern/fork-exit/fork-exit.c
236
procs = strtonum(optarg, 0, INT_MAX / pagesize,
regress/sys/kern/fork-exit/fork-exit.c
243
stack = strtonum(optarg, 0,
regress/sys/kern/fork-exit/fork-exit.c
250
threads = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/kern/fork-exit/fork-exit.c
256
timeout = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/kern/kqueue/main.c
53
n = strtonum(optarg, 1, INT_MAX, NULL);
regress/sys/kern/kqueue/main.c
63
n = strtonum(optarg, 1, INT_MAX, NULL);
regress/sys/kern/pledge/generic/manager.c
136
ret = strtonum(&output[matches[1].rm_so], 0, 255, &errstr);
regress/sys/kern/ptrace2/atf-c.c
58
test = strtonum(num, 1, INT_MAX, &errstr);
regress/sys/kern/signal/sigpthread/sigpthread.c
71
threadkill = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/kern/signal/sigpthread/sigpthread.c
83
threadmax = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/kern/signal/sigpthread/sigpthread.c
92
threadunblock = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/kern/signal/sigpthread/sigpthread.c
98
threadwaiter = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/net/pf_trans/dev-limit.c
78
sleep_time = strtonum(optarg, 1, 60, &errstr);
regress/sys/net/pf_trans/dev-limit.c
87
chld_count = strtonum(optarg, 1, 32768, &errstr);
regress/sys/net/pf_trans/dev-limit.c
97
expect_success = strtonum(optarg, 0, 32768, &errstr);
regress/sys/net/pf_trans/iocmd-limit.c
164
iterations = strtonum(optarg, 1, UINT32_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
304
bind_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
309
connect_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
314
delroute_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
330
fd_num = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
335
close_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
345
proto = strtonum(optarg, 0, IPPROTO_MAX -1 , &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
353
socket_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/bindconnect/bindconnect.c
358
run_time = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/mcast/mcrecv.c
84
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/mcast/mcrecv.c
89
port = strtonum(optarg, 1, 0xffff, &errstr);
regress/sys/netinet/mcast/mcrecv.c
94
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/mcast/mcroute.c
125
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/mcast/mcroute.c
133
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/mcast/mcsend.c
76
loop = strtonum(optarg, 0, 1, &errstr);
regress/sys/netinet/mcast/mcsend.c
84
port = strtonum(optarg, 1, 0xffff, &errstr);
regress/sys/netinet/mcast/mcsend.c
89
ttl = strtonum(optarg, 0, 255, &errstr);
regress/sys/netinet/sendsrcaddr/runtest.c
91
errexpect = strtonum(optarg, 1, 255, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
523
accept_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
528
connect_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
533
drop_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
538
idle_percent = strtonum(optarg, 0, 100, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
543
max_percent = strtonum(optarg, 0, 100, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
548
sock_num = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
553
close_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
558
recv_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
563
splice_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
568
send_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
573
run_time = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/tcpthread/tcpthread.c
578
unsplice_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
537
accept_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
542
connect_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
547
idle_percent = strtonum(optarg, 0, 100, &errstr);
regress/sys/netinet/udpthread/udpthread.c
552
max_percent = strtonum(optarg, 0, 100, &errstr);
regress/sys/netinet/udpthread/udpthread.c
557
sock_num = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
562
close_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
567
recv_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
572
splice_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
577
send_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
582
run_time = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet/udpthread/udpthread.c
587
unsplice_num = strtonum(optarg, 0, UINT_MAX, &errstr);
regress/sys/netinet6/mcast6/mc6recv.c
85
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet6/mcast6/mc6recv.c
90
port = strtonum(optarg, 1, 0xffff, &errstr);
regress/sys/netinet6/mcast6/mc6recv.c
95
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet6/mcast6/mc6route.c
126
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet6/mcast6/mc6route.c
134
timeout = strtonum(optarg, 1, INT_MAX, &errstr);
regress/sys/netinet6/mcast6/mc6send.c
78
loop = strtonum(optarg, 0, 1, &errstr);
regress/sys/netinet6/mcast6/mc6send.c
86
port = strtonum(optarg, 1, 0xffff, &errstr);
regress/sys/netinet6/mcast6/mc6send.c
91
ttl = strtonum(optarg, 0, 255, &errstr);
regress/sys/netinet6/pktinfo_addr/runtest.c
89
expected = strtonum(optarg, 0, 255, &numerr);
regress/sys/netinet6/rip6cksum/rip6cksum.c
67
ckoff = strtonum(optarg, INT_MIN, INT_MAX, &errstr);
regress/sys/netinet6/rip6cksum/rip6cksum.c
76
recvsz = strtonum(optarg, 0, INT_MAX, &errstr);
regress/sys/netinet6/rip6cksum/rip6cksum.c
82
sendsz = strtonum(optarg, 0, INT_MAX, &errstr);
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
41
timeout = strtonum(optarg, 0, 120, &errstr);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
141
min = strtonum(s, 0, maskmax, &errstr);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
146
max = strtonum(s, 0, maskmax, &errstr);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
207
max = strtonum(s, 0, 128, &errstr);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
212
as = strtonum(s, 0, UINT_MAX, &errstr);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
276
as = strtonum(s, 0, UINT_MAX, &errstr);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
75
mask = strtonum(p+1, 0, 128, &errstr);
regress/usr.sbin/ospfd/opentap.c
56
fd = strtonum(argv[1], 0, INT_MAX, &errstr);
regress/usr.sbin/ospfd/opentap.c
59
tap = strtonum(argv[2], 0, INT_MAX, &errstr);
regress/usr.sbin/rpki-client/test-rrdp.c
301
serial = strtonum(optarg, LLONG_MIN, LLONG_MAX, &e);
sbin/atactl/atactl.c
1716
acoustic = strtonum(argv[1], 0, 126, &errstr);
sbin/atactl/atactl.c
1754
power = strtonum(argv[1], 0, 253, &errstr);
sbin/badsect/badsect.c
127
number = strtonum(*argv, 0, QUAD_MAX, NULL);
sbin/bioctl/bioctl.c
137
cr_level = strtonum(optarg, 0, 10, &errstr);
sbin/bioctl/bioctl.c
185
rflag = strtonum(optarg, 16, 1<<30, &errstr);
sbin/bioctl/bioctl.c
317
location->lun = strtonum(lun, 0, 256, &errstr);
sbin/bioctl/bioctl.c
323
location->target = strtonum(targ, 0, 256, &errstr);
sbin/bioctl/bioctl.c
326
location->channel = strtonum(parse, 0, 256, &errstr);
sbin/bioctl/bioctl.c
352
timing->interval = strtonum(interval, -1, INT_MAX, &errstr);
sbin/bioctl/bioctl.c
357
timing->start = strtonum(start, 0, INT_MAX, &errstr);
sbin/clri/clri.c
107
strtonum(argv[i], 1, imax, &errstr);
sbin/clri/clri.c
123
inonum = strtonum(*argv, 1, imax, NULL);
sbin/dhcp6leased/parse.y
192
prefixlen = strtonum(p, 0, 128, &errstr);
sbin/dhcp6leased/parse.y
474
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/dhcp6leased/parse_lease.y
228
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/dhcpleased/parse.y
602
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/disklabel/disklabel.c
760
ret = strtonum(nptr, min, max, errstr);
sbin/disklabel/editor.c
1078
rval = strtonum(p, 0, maxval, &errstr);
sbin/disklabel/editor.c
2022
*n = strtonum(buf, 0, 100, &errstr);
sbin/dump/main.c
634
val = strtonum(optarg, vmin, vmax, &errstr);
sbin/fdisk/cmd.c
168
pn = strtonum(pnstr, 0, maxpn, &errstr);
sbin/fdisk/cmd.c
197
val = strtonum(flagstr, 0, INT64_MAX, &errstr);
sbin/fdisk/cmd.c
199
val = strtonum(flagstr, 0, 0xff, &errstr);
sbin/fdisk/cmd.c
593
num = (int)strtonum(lbuf, low, high, &errstr);
sbin/fdisk/fdisk.c
108
disk.dk_heads = strtonum(optarg, 1, 256, &errstr);
sbin/fdisk/fdisk.c
117
disk.dk_size = strtonum(optarg, BLOCKALIGNMENT,
sbin/fdisk/fdisk.c
128
disk.dk_sectors = strtonum(optarg, 1, 63, &errstr);
sbin/fdisk/fdisk.c
262
blockcount = strtonum(arg, 1, UINT32_MAX, &errstr);
sbin/fdisk/fdisk.c
270
blockoffset = strtonum(poffset, 1, UINT32_MAX, &errstr);
sbin/fdisk/fdisk.c
92
disk.dk_cylinders = strtonum(optarg, 1, 262144, &errstr);
sbin/fsck/fsck.c
155
maxrun = strtonum(optarg, 0, INT_MAX, &errstr);
sbin/growfs/growfs.c
1665
columns = strtonum(cp, 1, INT_MAX, NULL);
sbin/growfs/growfs.c
1724
size = strtonum(optarg, 1, LLONG_MAX, &errstr);
sbin/ifconfig/brconfig.c
1219
bp.ifbrp_txhc = strtonum(value, 0, UINT8_MAX, &errstr);
sbin/ifconfig/brconfig.c
465
bp.ifbrp_ctime = strtonum(arg, 0, UINT32_MAX, &errstr);
sbin/ifconfig/brconfig.c
480
bp.ifbrp_maxage = strtonum(arg, 0, UINT8_MAX, &errstr);
sbin/ifconfig/brconfig.c
495
bp.ifbrp_prio = strtonum(arg, 0, UINT16_MAX, &errstr);
sbin/ifconfig/brconfig.c
523
v = strtonum(str, 1, 31, &errstr);
sbin/ifconfig/brconfig.c
568
breq.ifbr_pvid = strtonum(val,
sbin/ifconfig/brconfig.c
625
fvid = strtonum(t, EVL_VLID_MIN, EVL_VLID_MAX, &errstr);
sbin/ifconfig/brconfig.c
636
tvid = strtonum(s, fvid + 1, EVL_VLID_MAX, &errstr);
sbin/ifconfig/brconfig.c
720
vid = strtonum(primary, EVL_VLID_MIN, EVL_VLID_MAX, &errstr);
sbin/ifconfig/brconfig.c
754
vp = strtonum(primary, EVL_VLID_MIN, EVL_VLID_MAX, &errstr);
sbin/ifconfig/brconfig.c
758
vs = strtonum(secondary, EVL_VLID_MIN, EVL_VLID_MAX, &errstr);
sbin/ifconfig/brconfig.c
827
bp.ifbrp_fwddelay = strtonum(arg, 0, UINT8_MAX, &errstr);
sbin/ifconfig/brconfig.c
843
bp.ifbrp_hellotime = strtonum(arg, 0, UINT8_MAX, &errstr);
sbin/ifconfig/brconfig.c
859
bp.ifbrp_csize = strtonum(arg, 0, UINT32_MAX, &errstr);
sbin/ifconfig/brconfig.c
874
breq.ifbr_priority = strtonum(val, 0, UINT8_MAX, &errstr);
sbin/ifconfig/brconfig.c
891
breq.ifbr_path_cost = strtonum(val, 0, UINT32_MAX, &errstr);
sbin/ifconfig/brconfig.c
931
ifbva->ifbva_vid = strtonum(vid, EVL_VLID_MIN, EVL_VLID_MAX, &errstr);
sbin/ifconfig/ifconfig.c
1149
neg = strtonum(argv[1], 0, 128, &errstr);
sbin/ifconfig/ifconfig.c
1541
newval = strtonum(val, 0, 1000000, &errmsg);
sbin/ifconfig/ifconfig.c
1633
ifr.ifr_metric = strtonum(val, 0, INT_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
1648
ifr.ifr_mtu = strtonum(val, 0, INT_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
1662
ifr.ifr_llprio = strtonum(val, 0, UCHAR_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
2325
chan = strtonum(val, 1, 256, &errstr);
sbin/ifconfig/ifconfig.c
2394
power.i_maxsleep = strtonum(val, 0, INT_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
3075
inst = strtonum(val, 0, IFM_INST_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
3888
rdomainid = strtonum(id, 0, RT_TABLEID_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
3916
ttl = strtonum(id, 0, 0xff, &errmsg);
sbin/ifconfig/ifconfig.c
4089
shim.shim_label = strtonum(val, 0, MPLS_LABEL_MAX, &estr);
sbin/ifconfig/ifconfig.c
4174
smpls->smpls_label = strtonum(label,
sbin/ifconfig/ifconfig.c
4244
vnetid = strtonum(id, 0, INT64_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
4360
ifr.ifr_hdrprio = strtonum(val,
sbin/ifconfig/ifconfig.c
4400
ifr.ifr_hdrprio = strtonum(val,
sbin/ifconfig/ifconfig.c
4791
vhid = strtonum(val, 1, 255, &errmsg);
sbin/ifconfig/ifconfig.c
4815
advskew = strtonum(val, 0, 254, &errmsg);
sbin/ifconfig/ifconfig.c
4838
advbase = strtonum(val, 0, 254, &errmsg);
sbin/ifconfig/ifconfig.c
5104
maxupdates = strtonum(val, 0, 255, &errmsg);
sbin/ifconfig/ifconfig.c
5709
t = strtonum(timeout, 1, 3600, &errmsg);
sbin/ifconfig/ifconfig.c
5712
c = strtonum(count, 2, 600, &errmsg);
sbin/ifconfig/ifconfig.c
5740
prio = strtonum(id, 0, 15, &errmsg);
sbin/ifconfig/ifconfig.c
5896
wg_peer->p_pka = strtonum(pka, 0, 43200, &errmsg);
sbin/ifconfig/ifconfig.c
5907
wg_interface->i_port = strtonum(port, 0, 65535, &errmsg);
sbin/ifconfig/ifconfig.c
5926
wg_interface->i_rtable = strtonum(id, 0, RT_TABLEID_MAX, &errmsg);
sbin/ifconfig/ifconfig.c
6512
len = strtonum(plen, 0, 32, &errmsg);
sbin/ifconfig/ifconfig.c
6638
len = strtonum(plen, 0, 128, &errmsg);
sbin/ifconfig/ifconfig.c
6801
rdomainid = strtonum(id, 0, RT_TABLEID_MAX, &errmsg);
sbin/iked/iked.c
106
proc_instance = strtonum(optarg, 0,
sbin/iked/iked.c
124
port = strtonum(optarg, 1, UINT16_MAX, &errstr);
sbin/iked/parse.y
1251
strtonum($2 + len, 0, UINT_MAX, &errstr);
sbin/iked/parse.y
1454
$$ = strtonum($1, 0, UINT64_MAX, &errstr);
sbin/iked/parse.y
1873
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/iked/parse.y
2245
mask = strtonum(p+1, 0, 128, &errstr);
sbin/iked/pfkey.c
708
ifminor = strtonum(iface + strlen("sec"), 0, UINT_MAX, &errstr);
sbin/ipsecctl/parse.y
1308
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/ipsecctl/parse.y
961
$$ = strtonum($2 + plen, 0, UINT_MAX, &errstr);
sbin/isakmpd/ipsec.c
401
sa->iface = strtonum(value, 0, UINT_MAX, &errstr);
sbin/ldattach/ldattach.c
155
speed = (speed_t)strtonum(optarg, 0, UINT_MAX, &errstr);
sbin/mount_cd9660/mount_cd9660.c
89
sess = strtonum(optarg, 0, INT32_MAX, &errstr);
sbin/mount_msdos/mount_msdos.c
162
gid = strtonum(s, 0, GID_MAX, &errstr);
sbin/mount_msdos/mount_msdos.c
177
uid = strtonum(s, 0, UID_MAX, &errstr);
sbin/mount_nfs/mount_nfs.c
191
num = (int) strtonum(optarg, 0, 4, &p);
sbin/mount_nfs/mount_nfs.c
210
num = (int) strtonum(optarg, 1, NGROUPS_MAX, &p);
sbin/mount_nfs/mount_nfs.c
218
num = (int) strtonum(optarg, 1, INT_MAX, &p);
sbin/mount_nfs/mount_nfs.c
314
num = (int) strtonum(optarg, 1, INT_MAX, &p);
sbin/mount_nfs/mount_nfs.c
320
num = (int) strtonum(optarg, 1, INT_MAX, &p);
sbin/mount_nfs/mount_nfs.c
334
num = (int) strtonum(optarg, 1, INT_MAX, &p);
sbin/mount_nfs/mount_nfs.c
341
num = (int) strtonum(optarg, 1, INT_MAX, &p);
sbin/mount_nfs/mount_nfs.c
348
num = (int) strtonum(optarg, 1, INT_MAX, &p);
sbin/mount_ntfs/mount_ntfs.c
143
gid = strtonum(s, 0, GID_MAX, &errstr);
sbin/mount_ntfs/mount_ntfs.c
158
uid = strtonum(s, 0, UID_MAX, &errstr);
sbin/mount_vnd/mount_vnd.c
129
rounds = strtonum(arg, 1000, INT_MAX, &errstr);
sbin/newfs/mkfs.c
1149
columns = strtonum(cp, 1, INT_MAX, NULL);
sbin/newfs/newfs.c
211
Oflag = strtonum(optarg, 1, 2, &errstr);
sbin/newfs/newfs.c
225
bsize = strtonum(optarg, MINBSIZE, MAXBSIZE, &errstr);
sbin/newfs/newfs.c
230
maxfrgspercg = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/newfs/newfs.c
236
maxbpg = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/newfs/newfs.c
242
fsize = strtonum(optarg, MINBSIZE / MAXFRAG, MAXBSIZE,
sbin/newfs/newfs.c
249
avgfilesize = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/newfs/newfs.c
255
avgfilesperdir = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/newfs/newfs.c
261
density = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/newfs/newfs.c
267
minfree = strtonum(optarg, 0, 99, &errstr);
sbin/newfs_msdos/newfs_msdos.c
266
opt_F = strtonum(optarg, 1, INT_MAX, NULL);
sbin/nfsd/nfsd.c
119
nfsdcnt = strtonum(optarg, 1, MAXNFSDCNT, &errstr);
sbin/nfsd/nfsd.c
150
nfsdcnt = strtonum(argv[0], 1, MAXNFSDCNT, &errstr);
sbin/pfctl/parse.y
2881
i = strtonum($2 + 5, 0, 255, &errstr);
sbin/pfctl/parse.y
5863
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/pfctl/pfctl.c
1109
id = strtonum(idopt, PF_SOURCELIM_ID_MIN, PF_SOURCELIM_ID_MAX,
sbin/pfctl/pfctl.c
1184
id = strtonum(idopt, PF_SOURCELIM_ID_MIN, PF_SOURCELIM_ID_MAX, &errstr);
sbin/pfctl/pfctl.c
3149
shownr = strtonum(optarg, -1, LONG_MAX, &errstr);
sbin/pfctl/pfctl.c
3199
rdomain = strtonum(optarg, 0, RT_TABLEID_MAX, &errstr);
sbin/pfctl/pfctl.c
502
prefix = strtonum(p, 0, res->ai_family == AF_INET6 ? 128 : 32, &errstr);
sbin/pfctl/pfctl_parser.c
1708
mask = strtonum(p+1, 0, 128, &errstr);
sbin/pfctl/pfctl_parser.c
1907
weight = strtonum(s, 1, USHRT_MAX, &errstr);
sbin/pfctl/pfctl_parser.c
322
val = strtonum(name, 0, LOG_DEBUG, &errstr);
sbin/pfctl/pfctl_table.c
267
lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);
sbin/pflogd/pflogd.c
615
delay = strtonum(optarg, 5, 60*60, &errstr);
sbin/pflogd/pflogd.c
630
snaplen = strtonum(optarg, 0, PFLOGD_MAXSNAPLEN,
sbin/ping/ping.c
304
npackets = strtonum(optarg, 0, INT64_MAX, &errstr);
sbin/ping/ping.c
336
hoplimit = strtonum(optarg, 0, IPV6_MAXHLIM, &errstr);
sbin/ping/ping.c
367
preload = strtonum(optarg, 1, INT64_MAX, &errstr);
sbin/ping/ping.c
389
datalen = strtonum(optarg, 0, maxpayload, &errstr);
sbin/ping/ping.c
406
tos = strtonum(optarg, 0, 255, &errstr);
sbin/ping/ping.c
413
ttl = strtonum(optarg, 0, MAXTTL, &errstr);
sbin/ping/ping.c
418
rtableid = strtonum(optarg, 0, RT_TABLEID_MAX, &errstr);
sbin/ping/ping.c
430
maxwait = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/quotacheck/quotacheck.c
157
maxrun = strtonum(optarg, 0, INT_MAX, &errstr);
sbin/restore/tape.c
337
newvol = strtonum(buf, 1, INT_MAX, &errstr);
sbin/route/route.c
1071
label = strtonum(s, 0, MPLS_LABEL_MAX, &errstr);
sbin/route/route.c
1108
len = strtonum(s, 0, max, &errstr);
sbin/route/route.c
1685
prio = strtonum(priostr, -RTP_MAX, RTP_MAX, &errstr);
sbin/route/route.c
2148
tableid = strtonum(s, 0, RT_TABLEID_MAX, &errstr);
sbin/route/route.c
449
rt_metrics.rmx_mtu = strtonum(value, 0, UINT_MAX, &errstr);
sbin/route/route.c
455
relative_expire = strtonum(value, 0, INT_MAX, &errstr);
sbin/savecore/savecore.c
420
bounds = strtonum(buf, 0, INT_MAX, &errstr);
sbin/savecore/savecore.c
652
minfree = strtonum(buf, 0, LLONG_MAX, &errstr);
sbin/scan_ffs/scan_ffs.c
152
beg = strtonum(optarg, 0, LLONG_MAX, &errstr);
sbin/scan_ffs/scan_ffs.c
157
end = strtonum(optarg, 0, LLONG_MAX, &errstr);
sbin/shutdown/shutdown.c
510
minutes = strtonum(timearg, 0, INT_MAX, &errstr);
sbin/swapctl/swapctl.c
153
pri = strtonum(optarg, 0, INT_MAX, &errstr);
sbin/sysctl/sysctl.c
1189
*port = strtonum(portspec, 0, 65535, &errstr);
sbin/sysctl/sysctl.c
1193
*high_port = strtonum(dash, 0, 65535, &errstr);
sbin/sysctl/sysctl.c
1463
mib[3] = strtonum(name, 0, INT_MAX, &errstr);
sbin/sysctl/sysctl.c
1995
mib[3] = strtonum(name, 0, INT_MAX, &errstr);
sbin/sysctl/sysctl.c
2627
numt = strtonum(&typename[i], 0, INT_MAX, &errstr);
sbin/sysctl/sysctl.c
841
intval = strtonum(newval, 0, UINT_MAX, &errstr);
sbin/sysctl/sysctl.c
843
intval = strtonum(newval, INT_MIN, INT_MAX,
sbin/tunefs/tunefs.c
248
n = strtonum(num, min, max, &errstr);
sbin/unwind/parse.y
666
yylval.v.number = strtonum(buf, LLONG_MIN,
sbin/vnconfig/vnconfig.c
168
rounds = strtonum(arg, 1000, INT_MAX, &errstr);
sbin/wsconsctl/util.c
431
wmcoords.minx = (int)strtonum(val,
sbin/wsconsctl/util.c
436
wmcoords.maxx = (int)strtonum(val,
sbin/wsconsctl/util.c
441
wmcoords.miny = (int)strtonum(val,
sbin/wsconsctl/util.c
446
wmcoords.maxy = (int)strtonum(val,
sbin/wsconsctl/util.c
451
wmcoords.swapxy = (int)strtonum(val,
sbin/wsconsctl/util.c
456
wmcoords.resx = (int)strtonum(val,
sbin/wsconsctl/util.c
461
wmcoords.resy = (int)strtonum(val,
usr.bin/aucat/aucat.c
1300
*num = strtonum(s, min, max, &errstr);
usr.bin/aucat/aucat.c
1313
*pos = strtonum(s, 0, LLONG_MAX, &errstr);
usr.bin/audioctl/audioctl.c
183
*(unsigned int *)addr = strtonum(p, 0, UINT_MAX, &strerr);
usr.bin/audioctl/audioctl.c
295
wait_sec = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/cal/cal.c
209
year = strtonum(*argv, 1, 9999, &errstr);
usr.bin/calendar/calendar.c
101
f_dayAfter = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/calendar/calendar.c
108
f_dayBefore = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/calendar/io.c
293
var = strtonum(start + 1, 0, 365, &errstr);
usr.bin/cdio/cddb.c
304
int number = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/cdio/cddb.c
365
k = strtonum(line, 0, n - 1, &errstr);
usr.bin/cdio/cdio.c
616
speed = (int)strtonum(optarg, 1,
usr.bin/chpass/field.c
100
id = (uid_t)strtonum(p, 0, UID_MAX, &errstr);
usr.bin/chpass/field.c
128
id = (uid_t)strtonum(p, 0, GID_MAX, &errstr);
usr.bin/col/col.c
133
max_bufd_lines = strtonum(optarg, 1,
usr.bin/column/column.c
80
termwidth = strtonum(p, 1, INT_MAX, NULL);
usr.bin/column/column.c
94
termwidth = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/ctfconv/ctfconv.c
303
if (strtonum(second, 1, INT_MAX, &errstr) == 0)
usr.bin/cu/command.c
195
speed = strtonum(s, 0, UINT_MAX, &errstr);
usr.bin/cu/cu.c
135
line_speed = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/cu/cu.c
527
unit = strtonum(ucom, 0, strlen(U) - 1, &errstr);
usr.bin/cut/cut.c
166
n = strtonum(*p, 1, _POSIX2_LINE_MAX, &errstr);
usr.bin/cvs/client.c
728
flen = strtonum(len, 0, INT_MAX, &errstr);
usr.bin/cvs/client.c
831
flen = strtonum(len, 0, INT_MAX, &errstr);
usr.bin/cvs/config.c
64
rl.rlim_cur = (int)strtonum(val, 0, INT_MAX,
usr.bin/cvs/cvs.c
408
cvs_compress = strtonum(optarg, 0, 9, &errstr);
usr.bin/cvs/diff.c
176
diff_context = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/cvs/diff.c
96
diff_context = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/cvs/root.c
134
root->cr_port = strtonum(pp, 1, 65535, &errstr);
usr.bin/cvs/server.c
413
flen = strtonum(len, 0, INT_MAX, &errstr);
usr.bin/dig/dig.c
1005
num = strtonum(value, 0, 15, &errstr);
usr.bin/dig/dig.c
1048
lookup->retries = strtonum(value, 0,
usr.bin/dig/dig.c
1135
splitwidth = strtonum(value, 0, 1023, &errstr);
usr.bin/dig/dig.c
1199
timeout = strtonum(value, 0, MAXTIMEOUT, &errstr);
usr.bin/dig/dig.c
1230
lookup->retries = strtonum(value, 0, MAXTRIES,
usr.bin/dig/dig.c
1416
num = strtonum(value, 0, MAXPORT, &errstr);
usr.bin/dig/dig.c
1464
serial = strtonum(&value[5], 0, MAXSERIAL,
usr.bin/dig/dig.c
1709
serial = strtonum(&rv[0][5], 0,
usr.bin/dig/dig.c
736
num = strtonum(value, 0, COMMSIZE, &errstr);
usr.bin/dig/dig.c
834
num = strtonum(value, 0, 255,
usr.bin/dig/dig.c
942
num = strtonum(value, 0, MAXNDOTS, &errstr);
usr.bin/dig/dighost.c
1304
num = strtonum(code, 0, 65535, &errstr);
usr.bin/dig/dighost.c
926
tmp = strtonum(arg, 0, max, &errstr);
usr.bin/dig/host.c
720
timeout = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/dig/host.c
727
tries = strtonum(optarg, INT_MIN, INT_MAX - 1, &errstr);
usr.bin/dig/host.c
750
ndots = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/dig/lib/dns/rdata.c
870
val = strtonum(lookup + 4, 0, UINT16_MAX, &errstr);
usr.bin/dig/nslookup.c
529
n = strtonum(value, 0, 65535, &errstr);
usr.bin/dig/nslookup.c
541
n = strtonum(value, 0, UINT_MAX, &errstr);
usr.bin/dig/nslookup.c
553
n = strtonum(value, 0, INT_MAX, &errstr);
usr.bin/dig/nslookup.c
565
n = strtonum(value, 0, 128, &errstr);
usr.bin/doas/doas.c
59
*uid = strtonum(s, 0, UID_MAX - 1, &errstr);
usr.bin/doas/doas.c
89
*gid = strtonum(s, 0, GID_MAX - 1, &errstr);
usr.bin/du/du.c
97
maxdepth = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/encrypt/encrypt.c
117
(void)strtonum(optarg, 4, 31, &errstr);
usr.bin/find/function.c
1066
new->max_data = strtonum(arg, 0, FTS_MAXLEVEL, &errstr);
usr.bin/find/function.c
1092
new->min_data = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/find/function.c
1565
uid = strtonum(username, 0, UID_MAX, &errstr);
usr.bin/find/function.c
959
gid = strtonum(gname, 0, GID_MAX, &errstr);
usr.bin/fold/fold.c
80
width = strtonum(optarg, 1, UINT_MAX, &errstr);
usr.bin/fstat/fstat.c
203
filter[nfilter].arg = strtonum(optarg, 0, INT_MAX,
usr.bin/fstat/fstat.c
229
uid = strtonum(optarg, 0, UID_MAX,
usr.bin/fstat/fstat.c
954
n = strtonum(sig, 0, NSIG - 1, &errstr);
usr.bin/ftp/cmds.c
234
max_depth = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/ftp/cmds.c
609
nmark = strtonum(argv[1], 1, INT_MAX, &errstr);
usr.bin/ftp/cmds.c
748
val = strtonum(argv[1], 0, INT_MAX, &errstr);
usr.bin/ftp/cookie.c
129
ck->expires = strtonum(param, 0,
usr.bin/ftp/fetch.c
815
status = strtonum(ststr, 200, 503, &errstr);
usr.bin/ftp/fetch.c
896
filesize = strtonum(cp, 0, LLONG_MAX, &errstr);
usr.bin/ftp/fetch.c
970
retryafter = strtonum(cp, 0, 0, &errstr);
usr.bin/ftp/main.c
267
depth = strtonum(str, 0, INT_MAX, &errstr);
usr.bin/ftp/main.c
484
keep_alive_timeout = strtonum(optarg, 0, INT_MAX,
usr.bin/ftp/main.c
519
retry_connect = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/ftp/main.c
572
connect_timeout = strtonum(optarg, 0, 200, &errstr);
usr.bin/ftp/small.c
351
max_depth = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/getent/getent.c
204
gid = strtonum(argv[i], 0, GID_MAX, &err);
usr.bin/getent/getent.c
306
uid = strtonum(argv[i], 0, UID_MAX, &err);
usr.bin/getent/getent.c
340
proto = strtonum(argv[i], 0, INT_MAX, &err);
usr.bin/getent/getent.c
375
rpc = strtonum(argv[i], 0, INT_MAX, &err);
usr.bin/getent/getent.c
413
port = strtonum(argv[i], 0, IPPORT_HILASTAUTO, &err);
usr.bin/grep/grep.c
301
l = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/grep/grep.c
313
l = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/grep/grep.c
396
mlimit = mcount = strtonum(optarg, 0, LLONG_MAX,
usr.bin/head/head.c
63
linecnt = strtonum(argv[1] + 1, 1, LONG_MAX, &errstr);
usr.bin/head/head.c
73
linecnt = strtonum(optarg, 1, LONG_MAX, &errstr);
usr.bin/id/id.c
354
uid = strtonum(u, 0, UID_MAX, &errstr);
usr.bin/ipcrm/ipcrm.c
126
target_id = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/jot/jot.c
110
prec = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/jot/jot.c
162
reps = strtonum(argv[0], 0, LONG_MAX, &errstr);
usr.bin/kdump/kdump.c
189
maxdata = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/kdump/kdump.c
200
pid_opt = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/kstat/kstat.c
171
wait = strtonum(optarg, 1, UINT_MAX, &errstr);
usr.bin/kstat/kstat.c
261
strtonum(argv[1], 0, 0xffffffffU, &errstr);
usr.bin/kstat/kstat.c
273
strtonum(argv[3], 0, 0xffffffffU, &errstr);
usr.bin/ktrace/ktrace.c
231
pid = strtonum(p, 1, INT_MAX, &errstr);
usr.bin/lam/lam.c
144
ip->minwidth = strtonum(p, 1, INT_MAX,
usr.bin/lam/lam.c
151
ip->maxwidth = strtonum(q, 1, INT_MAX,
usr.bin/last/last.c
126
maxrec = strtonum(optarg, 0, LONG_MAX, &errstr);
usr.bin/ldap/aldap.c
735
lu->port = strtonum(++forward2, 0, PORT_MAX, &errstr);
usr.bin/ldap/ldapclient.c
162
ls.ls_timelimit = strtonum(optarg, 0, INT_MAX,
usr.bin/ldap/ldapclient.c
198
ls.ls_sizelimit = strtonum(optarg, 0, INT_MAX,
usr.bin/lock/lock.c
114
sectimeout = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/logger/logger.c
169
int n = strtonum(name, 0, INT_MAX, &errstr);
usr.bin/m4/eval.c
180
base = strtonum(argv[3], 2, 36, &errstr);
usr.bin/m4/eval.c
187
maxdigits = strtonum(argv[4], 0, INT_MAX, &errstr);
usr.bin/m4/eval.c
227
n = strtonum(argv[2], INT_MIN, INT_MAX-1, &errstr);
usr.bin/m4/eval.c
240
n = strtonum(argv[2], INT_MIN+1, INT_MAX, &errstr);
usr.bin/m4/eval.c
346
n = strtonum(argv[2], INT_MIN, INT_MAX, &errstr);
usr.bin/m4/eval.c
850
n = strtonum(argv[ind], 1, INT_MAX, &errstr);
usr.bin/make/generate.c
143
tn = strtonum(argv[1], 1, INT_MAX, &errstr);
usr.bin/make/generate.c
147
slots = strtonum(argv[2], 0, INT_MAX, &errstr);
usr.bin/make/main.c
321
optj = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/make/make.c
134
random_delay = strtonum(Var_Value("RANDOM_DELAY"), 0, 1000,
usr.bin/mandoc/manpath.c
287
conf->indent = strtonum(cp, 0, 1000, &errstr);
usr.bin/mandoc/manpath.c
298
conf->width = strtonum(cp, 1, 1000, &errstr);
usr.bin/mg/basic.c
519
n = (int)strtonum(buf, INT_MIN, INT_MAX, &err);
usr.bin/mg/buffer.c
57
n = strtonum(buf, 1, 16, &errstr);
usr.bin/mg/cscope.c
452
lineno = strtonum(t.lineno, INT_MIN, INT_MAX, &errstr);
usr.bin/mg/grep.c
280
lineno = (int)strtonum(ln, INT_MIN, INT_MAX, &errstr);
usr.bin/mg/interpreter.c
496
strtonum(argp, 0, INT_MAX, &errstr);
usr.bin/mg/interpreter.c
701
strtonum(argp, 0, INT_MAX, &errstr);
usr.bin/mg/main.c
199
lval = strtonum(&argv[i][1], INT_MIN, INT_MAX, &errstr);
usr.bin/mg/paragraph.c
467
nfill = strtonum(rep, 0, INT_MAX, &es);
usr.bin/nc/netcat.c
1451
port = strtonum(portstr, 1, PORT_MAX, &errstr);
usr.bin/nc/netcat.c
1549
int p = strtonum(port, 1, PORT_MAX, &errstr);
usr.bin/nc/netcat.c
223
iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
usr.bin/nc/netcat.c
237
ttl = strtonum(optarg, 0, 255, &errstr);
usr.bin/nc/netcat.c
242
minttl = strtonum(optarg, 0, 255, &errstr);
usr.bin/nc/netcat.c
275
rtableid = (int)strtonum(optarg, 0,
usr.bin/nc/netcat.c
284
recvlimit = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/nc/netcat.c
289
timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr);
usr.bin/nc/netcat.c
312
Iflag = strtonum(optarg, 1, 65536 << 14, &errstr);
usr.bin/nc/netcat.c
318
Oflag = strtonum(optarg, 1, 65536 << 14, &errstr);
usr.bin/nc/netcat.c
340
Tflag = (int)strtonum(optarg, 0, 255,
usr.bin/netstat/main.c
172
repeatcount = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/netstat/main.c
265
tableid = strtonum(optarg, 0, RT_TABLEID_MAX, &errstr);
usr.bin/netstat/main.c
281
interval = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/netstat/main.c
293
interval = strtonum(*argv, 1, INT_MAX, &errstr);
usr.bin/newsyslog/newsyslog.c
518
working->uid = strtonum(q, 0, UID_MAX, &errstr);
usr.bin/newsyslog/newsyslog.c
537
working->gid = strtonum(q, 0, GID_MAX, &errstr);
usr.bin/newsyslog/newsyslog.c
584
working->size = strtonum(q, 0, INT64_MAX/1024, &errstr);
usr.bin/nfsstat/nfsstat.c
116
interval = (u_int)strtonum(*argv, 0, 1000, &errstr);
usr.bin/nfsstat/nfsstat.c
98
interval = (u_int)strtonum(optarg, 0, 1000, &errstr);
usr.bin/nice/nice.c
59
prio = strtonum(argv[1] + 1, PRIO_MIN, PRIO_MAX, &errstr);
usr.bin/nice/nice.c
69
prio = strtonum(optarg, PRIO_MIN, PRIO_MAX, &errstr);
usr.bin/nl/nl.c
160
incr = strtonum(optarg, INT_MIN, INT_MAX, &errstr);
usr.bin/nl/nl.c
166
nblank = strtonum(optarg, 0, UINT_MAX, &errstr);
usr.bin/nl/nl.c
187
startnum = strtonum(optarg, INT_MIN, INT_MAX, &errstr);
usr.bin/nl/nl.c
194
width = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/openssl/apps.c
1741
depth = strtonum(argn, 1, INT_MAX, &errstr);
usr.bin/openssl/apps.c
2066
val = strtonum(argv[i], 0, INT_MAX, &errstr);
usr.bin/openssl/apps.c
2076
val = strtonum(argv[i], 0, LONG_MAX, &errstr);
usr.bin/openssl/apps.c
2086
val = strtonum(argv[i], 0, LLONG_MAX, &errstr);
usr.bin/openssl/apps.c
397
i = strtonum(arg + 3, 0, INT_MAX, &errstr);
usr.bin/openssl/asn1pars.c
109
cfg.length = strtonum(arg, 1, UINT_MAX, &errstr);
usr.bin/openssl/asn1pars.c
343
j = strtonum(sk_OPENSSL_STRING_value(cfg.osk, i),
usr.bin/openssl/asn1pars.c
95
cfg.dump = strtonum(arg, 1, INT_MAX, &errstr);
usr.bin/openssl/certhash.c
281
val = strtonum(p, 0, 0xffffffff, &errstr);
usr.bin/openssl/dsaparam.c
182
numbits = strtonum(strbits, 0, INT_MAX, &errstr);
usr.bin/openssl/gendh.c
160
numbits = strtonum(strbits, 0, INT_MAX, &errstr);
usr.bin/openssl/ocsp.c
282
cfg.ndays = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/openssl/ocsp.c
296
cfg.nmin = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/openssl/ocsp.c
315
cfg.accept_count = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/openssl/ocsp.c
356
cfg.maxage = strtonum(arg, 0, LONG_MAX, &errstr);
usr.bin/openssl/ocsp.c
378
cfg.req_timeout = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/openssl/ocsp.c
414
cfg.nsec = strtonum(arg, 0, LONG_MAX, &errstr);
usr.bin/openssl/req.c
1600
keylen = strtonum(gstr, 0, LONG_MAX, &errstr);
usr.bin/openssl/req.c
1628
keylen = strtonum(p + 1, 0, LONG_MAX, &errstr);
usr.bin/openssl/req.c
201
cfg.days = strtonum(arg, 1, INT_MAX, &errstr);
usr.bin/openssl/s_client.c
247
cfg.keymatexportlen = strtonum(arg, 1, INT_MAX,
usr.bin/openssl/s_client.c
261
cfg.socket_mtu = strtonum(arg, 0, LONG_MAX,
usr.bin/openssl/s_client.c
355
verify_depth = strtonum(arg, 0, INT_MAX, &cfg.errstr);
usr.bin/openssl/s_server.c
306
cfg.keymatexportlen = strtonum(arg, 1, INT_MAX,
usr.bin/openssl/s_server.c
320
cfg.socket_mtu = strtonum(arg, 0, LONG_MAX,
usr.bin/openssl/s_server.c
389
cfg.tlscstatp.timeout = strtonum(arg, 0, INT_MAX,
usr.bin/openssl/s_server.c
425
verify_depth = strtonum(arg, 0, INT_MAX, &cfg.errstr);
usr.bin/openssl/s_server.c
440
verify_depth = strtonum(arg, 0, INT_MAX, &cfg.errstr);
usr.bin/openssl/s_socket.c
313
i = strtonum(str, 1, 65535, &errstr);
usr.bin/openssl/speed.c
1197
multi = strtonum(argv[0], 1, INT_MAX, &errstr);
usr.bin/openssl/speed.c
1211
unaligned = strtonum(argv[0], 0, MAX_UNALIGN, &errstr);
usr.bin/openssl/speed.c
2793
alg = strtonum(sstrsep(&p, sep),
usr.bin/openssl/speed.c
2803
k = strtonum(sstrsep(&p, sep),
usr.bin/openssl/speed.c
2823
k = strtonum(sstrsep(&p, sep),
usr.bin/openssl/speed.c
2843
k = strtonum(sstrsep(&p, sep),
usr.bin/openssl/speed.c
2863
k = strtonum(sstrsep(&p, sep),
usr.bin/openssl/speed.c
2883
k = strtonum(sstrsep(&p, sep),
usr.bin/openssl/x509.c
223
cfg.checkoffset = strtonum(arg, 0, INT_MAX, &errstr);
usr.bin/openssl/x509.c
245
cfg.days = strtonum(arg, 1, INT_MAX, &errstr);
usr.bin/patch/patch.c
608
maxfuzz = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/patch/patch.c
631
strippath = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/patch/patch.c
663
debug = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/patch/pch.c
1517
rv = strtonum(nptr, 0, LINENUM_MAX, &errstr);
usr.bin/pctr/pctr.c
117
ctr = strtonum(optarg, 0, PCTR_NUM-1, &errstr);
usr.bin/pctr/pctr.c
123
thold = strtonum(optarg, 0, 0xff, &errstr);
usr.bin/pr/pr.c
1739
pgnm = strtonum(eoptarg, 1, INT_MAX, &errstr);
usr.bin/pr/pr.c
1747
clcnt = strtonum(eoptarg, 1, INT_MAX, &errstr);
usr.bin/pr/pr.c
1768
ingap = strtonum(eoptarg, 0, INT_MAX, &errstr);
usr.bin/pr/pr.c
1795
ogap = strtonum(eoptarg, 0, INT_MAX, &errstr);
usr.bin/pr/pr.c
1809
lines = strtonum(eoptarg, 1, INT_MAX, &errstr);
usr.bin/pr/pr.c
1824
nmwd = strtonum(eoptarg, 1, INT_MAX, &errstr);
usr.bin/pr/pr.c
1836
offst = strtonum(eoptarg, 1, INT_MAX, &errstr);
usr.bin/pr/pr.c
1862
pgwd = strtonum(eoptarg, 1, INT_MAX, &errstr);
usr.bin/rcs/rcsdiff.c
156
diff_context = strtonum(rcs_optarg, 0, INT_MAX, &errstr);
usr.bin/rcs/rcsdiff.c
84
diff_context = strtonum(rcs_optarg, 0, INT_MAX, &errstr);
usr.bin/rcs/rcstime.c
67
tzone = strtonum(h, -23, 23, &errstr);
usr.bin/rcs/rcstime.c
83
tzone = strtonum(m, 0, 59, &errstr);
usr.bin/rdist/rdist.c
145
min_freespace = (int64_t)strtonum(optarg,
usr.bin/rdist/rdist.c
152
min_freefiles = (int64_t)strtonum(optarg,
usr.bin/rdistd/server.c
1301
min_freespace = (int64_t)strtonum(cp, 0, LLONG_MAX, &errstr);
usr.bin/rdistd/server.c
1308
min_freefiles = (int64_t)strtonum(cp, 0, LLONG_MAX, &errstr);
usr.bin/renice/renice.c
132
uid_t id = strtonum(idstr, 0, UID_MAX, &errstr);
usr.bin/renice/renice.c
142
p->id = strtonum(idstr, 0, UINT_MAX, &errstr);
usr.bin/rs/rs.c
387
owidth = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/rs/rs.c
397
skip = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/rs/rs.c
409
gutter = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/rs/rs.c
416
propgutter = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/rs/rs.c
455
ocols = strtonum(av[1], 0, INT_MAX, &errstr);
usr.bin/rs/rs.c
462
orows = strtonum(av[0], 0, INT_MAX, &errstr);
usr.bin/rsync/main.c
443
poll_contimeout = strtonum(optarg, 0, 60*60, &errstr);
usr.bin/rsync/main.c
455
poll_timeout = strtonum(optarg, 0, 60*60, &errstr);
usr.bin/rusers/rusers.c
147
termwidth = strtonum(cp, 1, LONG_MAX, NULL);
usr.bin/sdiff/sdiff.c
239
wflag = strtonum(optarg, WIDTH_MIN,
usr.bin/sdiff/sdiff.c
630
file1start = strtonum(line, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
643
file1end = strtonum(q, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
663
file2start = strtonum(q, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
676
file2end = strtonum(p, 0, INT_MAX, &errstr);
usr.bin/sed/main.c
157
termwidth = strtonum(p, 0, INT_MAX, NULL);
usr.bin/skey/skey.c
106
n = strtonum(argv[i], 0, SKEY_MAX_SEQ, &errstr);
usr.bin/skey/skey.c
112
n = strtonum(argv[i], 0, SKEY_MAX_SEQ, &errstr);
usr.bin/skey/skey.c
63
cnt = strtonum(argv[i], 1, SKEY_MAX_SEQ + 1,
usr.bin/skeyinit/skeyinit.c
340
n = strtonum(buf, 1, SKEY_MAX_SEQ-1, &errstr);
usr.bin/skeyinit/skeyinit.c
83
n = strtonum(argv[i], 1, SKEY_MAX_SEQ - 1, &errstr);
usr.bin/sndiod/sndiod.c
564
unit = strtonum(optarg, 0, 15, &str);
usr.bin/sndiod/sndiod.c
593
rate = strtonum(optarg, RATE_MIN, RATE_MAX, &str);
usr.bin/sndiod/sndiod.c
598
vol = strtonum(optarg, 0, MIDI_MAXCTL, &str);
usr.bin/sndiod/sndiod.c
635
bufsz = strtonum(optarg, 1, RATE_MAX, &str);
usr.bin/sndiod/sndiod.c
640
round = strtonum(optarg, 1, SHRT_MAX, &str);
usr.bin/snmp/smi.c
515
strtonum(sp, 0, UINT_MAX, &errstr);
usr.bin/snmp/snmpc.c
1445
lval = strtonum(argv[i + 2], 0, UINT32_MAX,
usr.bin/snmp/snmpc.c
1479
lval = strtonum(argv[i + 2], INT32_MIN, INT32_MAX,
usr.bin/snmp/snmpc.c
1513
lval = strtonum(argv[i + 2], 0, UINT32_MAX,
usr.bin/snmp/snmpc.c
1524
lval = strtonum(argv[i + 2], 0, UINT32_MAX,
usr.bin/snmp/snmpc.c
263
if ((retries = strtonum(optarg, 0, INT_MAX,
usr.bin/snmp/snmpc.c
270
if ((timeout = strtonum(optarg, 1, INT_MAX,
usr.bin/snmp/snmpc.c
807
lval = strtonum(argv[1], 0, UINT32_MAX, &errstr);
usr.bin/sort/sort.c
947
max_open_files = strtonum(optarg, 2,
usr.bin/split/split.c
100
sufflen = strtonum(optarg, 1, NAME_MAX, &errstr);
usr.bin/ssh/addr.c
470
masklen = (u_int)strtonum(mp, 0, INT_MAX, &errstr);
usr.bin/ssh/channels.c
5272
screen_number = (u_int)strtonum(cp + 1, 0, 400, NULL);
usr.bin/ssh/dh.c
104
(dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
usr.bin/ssh/dh.c
79
n = strtonum(arg, 0, 5, &errstr);
usr.bin/ssh/dh.c
88
n = strtonum(arg, 0, 0x1f, &errstr);
usr.bin/ssh/dh.c
97
n = strtonum(arg, 0, 1<<30, &errstr);
usr.bin/ssh/misc.c
1899
val = (int)strtonum(cp, 0, 255, &errstr);
usr.bin/ssh/misc.c
2441
*val = strtonum(nptr, 0, INT_MAX, &errstr);
usr.bin/ssh/misc.c
262
rtable = (int)strtonum(name, 0, 255, &errstr);
usr.bin/ssh/misc.c
542
port = strtonum(s, 0, 65535, &errstr);
usr.bin/ssh/misc.c
574
tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
usr.bin/ssh/scp.c
504
limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024,
usr.bin/ssh/scp.c
548
llv = strtonum(optarg + 10, 1, 256 * 1024,
usr.bin/ssh/servconf.c
848
num = strtonum(name, 0, 255, &errstr);
usr.bin/ssh/sftp.c
2528
limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024,
usr.bin/ssh/sftp.c
2564
llv = strtonum(optarg + 10, 1, 256 * 1024,
usr.bin/ssh/ssh-agent.c
2357
pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr);
usr.bin/ssh/ssh-keygen.c
2913
moduli_bits = (int)strtonum(p, 1, INT_MAX, &errstr);
usr.bin/ssh/ssh-keygen.c
2963
generator_wanted = (uint32_t)strtonum(p, 1, UINT_MAX,
usr.bin/ssh/ssh-keygen.c
2969
prime_tests = (int)strtonum(p, 1, INT_MAX, &errstr);
usr.bin/ssh/ssh-keygen.c
3323
bits = (uint32_t)strtonum(optarg, 1, UINT32_MAX,
usr.bin/ssh/ssh-keygen.c
3471
rounds = (int)strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/ssh/sshd-auth.c
534
utmp_len = (u_int)strtonum(optarg, 0, HOST_NAME_MAX+1+1, NULL);
usr.bin/ssh/sshd-session.c
719
rtable = (int)strtonum(name, 0, 255, &errstr);
usr.bin/ssh/sshd-session.c
850
utmp_len = (u_int)strtonum(optarg, 0, HOST_NAME_MAX+1+1, NULL);
usr.bin/ssh/sshd.c
1386
utmp_len = (u_int)strtonum(optarg, 0, HOST_NAME_MAX+1+1, NULL);
usr.bin/systat/main.c
346
maxprint = strtonum(buf, 1, lines - HEADER_LINES, &errstr);
usr.bin/systat/main.c
505
countmax = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/systat/main.c
530
rawwidth = strtonum(optarg, 1, MAX_LINE_BUF-1, &errstr);
usr.bin/systat/malloc.c
262
bucket_sizes[num_buckets] = strtonum(ap, 0, INT_MAX, &errstr);
usr.bin/tcpbench/tcpbench.c
1174
ptb->rflag = strtonum(optarg, 0, 60 * 60 * 24 * 1000,
usr.bin/tcpbench/tcpbench.c
1187
ptb->Sflag = strtonum(optarg, 0, 1024*1024*1024,
usr.bin/tcpbench/tcpbench.c
1194
ptb->dummybuf_len = strtonum(optarg, 0, 1024*1024*1024,
usr.bin/tcpbench/tcpbench.c
1204
rtable = (unsigned int)strtonum(optarg, 0,
usr.bin/tcpbench/tcpbench.c
1213
nconn = strtonum(optarg, 1, 65535, &errstr);
usr.bin/tcpbench/tcpbench.c
1234
ptb->Tflag = (int)strtonum(optarg, 0, 255,
usr.bin/tcpbench/tcpbench.c
1240
secs = strtonum(optarg, 1, UINT_MAX, &errstr);
usr.bin/telnet/commands.c
393
val = strtonum(name, 0, 255, &errstr);
usr.bin/telnet/main.c
150
rtableid = (int)strtonum(optarg, 0,
usr.bin/tftp/main.c
506
t = strtonum(argv[1], TIMEOUT_MIN, TIMEOUT_MAX, &errstr);
usr.bin/tftp/main.c
532
t = strtonum(argv[1], TIMEOUT_MIN, TIMEOUT_MAX, &errstr);
usr.bin/tftp/main.c
759
t = strtonum(argv[1], SEGSIZE_MIN, SEGSIZE_MAX, &errstr);
usr.bin/tftp/tftp.c
643
n = strtonum(value, TIMEOUT_MIN, TIMEOUT_MAX,
usr.bin/tftp/tftp.c
655
n = strtonum(value, SEGSIZE_MIN, SEGSIZE_MAX,
usr.bin/timeout/timeout.c
118
sig = strtonum(str, 1, NSIG, &errstr);
usr.bin/tmux/arguments.c
1001
ll = strtonum(copy, 0, 100, &errstr);
usr.bin/tmux/arguments.c
1017
ll = strtonum(value, minval, maxval, &errstr);
usr.bin/tmux/arguments.c
1069
ll = strtonum(f, 0, 100, &errstr);
usr.bin/tmux/arguments.c
1087
ll = strtonum(f, minval, maxval, &errstr);
usr.bin/tmux/arguments.c
918
ll = strtonum(value->string, minval, maxval, &errstr);
usr.bin/tmux/arguments.c
952
ll = strtonum(formatted, minval, maxval, &errstr);
usr.bin/tmux/cmd-find.c
377
n = strtonum(window + 1, 1, INT_MAX, NULL);
usr.bin/tmux/cmd-find.c
432
idx = strtonum(window, 0, INT_MAX, &errstr);
usr.bin/tmux/cmd-find.c
615
n = strtonum(pane + 1, 1, INT_MAX, NULL);
usr.bin/tmux/cmd-find.c
628
idx = strtonum(pane, 0, INT_MAX, &errstr);
usr.bin/tmux/cmd-new-session.c
214
dsx = strtonum(tmp, 1, USHRT_MAX, &errstr);
usr.bin/tmux/cmd-new-session.c
230
dsy = strtonum(tmp, 1, USHRT_MAX, &errstr);
usr.bin/tmux/cmd-refresh-client.c
214
adjust = strtonum(args_string(args, 0), 1, INT_MAX,
usr.bin/tmux/cmd-resize-pane.c
101
adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr);
usr.bin/tmux/cmd-resize-window.c
61
adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr);
usr.bin/tmux/colour.c
246
n = strtonum(s + (sizeof "colour") - 1, 0, 255, &errstr);
usr.bin/tmux/colour.c
252
n = strtonum(s + (sizeof "color") - 1, 0, 255, &errstr);
usr.bin/tmux/colour.c
993
c = strtonum(name + 4, 0, 100, &errstr);
usr.bin/tmux/format.c
4070
t = strtonum(found, 0, INT64_MAX, &errstr);
usr.bin/tmux/format.c
4853
prec = strtonum(mexp->argv[2], INT_MIN + 1, INT_MAX, &errstr);
usr.bin/tmux/format.c
4998
limit = strtonum(fm->argv[0], -FORMAT_MAX_WIDTH,
usr.bin/tmux/format.c
5008
width = strtonum(fm->argv[0], -FORMAT_MAX_WIDTH,
usr.bin/tmux/format.c
5169
c = strtonum(new, 32, 126, &errstr);
usr.bin/tmux/format.c
5232
nrep = strtonum(right, 1, FORMAT_MAX_REPEAT, &errstr);
usr.bin/tmux/input.c
1096
ip->num = strtonum(out, 0, INT_MAX, &errstr);
usr.bin/tmux/input.c
2218
p[n++] = strtonum(out, 0, INT_MAX, &errstr);
usr.bin/tmux/options.c
1138
number = strtonum(value, oe->minimum, oe->maximum, &errstr);
usr.bin/tmux/session.c
92
id = strtonum(s + 1, 0, UINT_MAX, &errstr);
usr.bin/tmux/style.c
143
n = strtonum(found, 0, 9, &errstr);
usr.bin/tmux/style.c
154
n = strtonum(found + 1, 0, UINT_MAX, &errstr);
usr.bin/tmux/style.c
163
n = strtonum(found, 0, UINT_MAX, &errstr);
usr.bin/tmux/style.c
174
n = strtonum(found + 1, 0, UINT_MAX, &errstr);
usr.bin/tmux/style.c
240
n = strtonum(tmp + 6, 0, 100, &errstr);
usr.bin/tmux/style.c
246
n = strtonum(tmp + 6, 0, UINT_MAX, &errstr);
usr.bin/tmux/style.c
253
n = strtonum(tmp + 4, 0, UINT_MAX, &errstr);
usr.bin/tmux/tty-term.c
417
n = strtonum(value, 0, INT_MAX, &errstr);
usr.bin/tmux/tty-term.c
569
n = strtonum(value, 0, INT_MAX, &errstr);
usr.bin/tmux/utf8.c
334
width = strtonum(cp, 0, 2, &errstr);
usr.bin/tmux/window-copy.c
4465
lineno = strtonum(linestr, -1, INT_MAX, &errstr);
usr.bin/tmux/window.c
274
id = strtonum(s + 1, 0, UINT_MAX, &errstr);
usr.bin/tmux/window.c
936
id = strtonum(s + 1, 0, UINT_MAX, &errstr);
usr.bin/top/top.c
182
uid = strtonum(bufp, 0, UID_MAX, &errstr);
usr.bin/top/top.c
197
pid = strtonum(buf, 0, INT_MAX, &errstr);
usr.bin/top/top.c
230
rtableid = strtonum(bufp, 0, RT_TABLEID_MAX, &errstr);
usr.bin/top/utils.c
62
i = (int)strtonum(str, 0, INT_MAX, &errstr);
usr.bin/unifdef/unifdef.c
349
exitmode = strtonum(optarg, 0, 2, &errstr);
usr.bin/uniq/uniq.c
81
numfields = strtonum(optarg, 0, LLONG_MAX, &errstr);
usr.bin/uniq/uniq.c
89
numchars = strtonum(optarg, 0, LLONG_MAX, &errstr);
usr.bin/vi/cl/cl_term.c
399
(rval = strtonum(p, 1, INT_MAX, NULL)) > 0)
usr.bin/vi/cl/cl_term.c
402
(rval = strtonum(p, 1, INT_MAX, NULL)) > 0)
usr.bin/vis/vis.c
88
foldwidth = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/vmstat/vmstat.c
139
reps = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/vmstat/vmstat.c
165
interval = (u_int)strtonum(optarg, 0, 1000, &errstr);
usr.bin/vmstat/vmstat.c
226
interval = (u_int)strtonum(*argv, 0, 1000, &errstr);
usr.bin/vmstat/vmstat.c
231
reps = strtonum(*argv, 0, INT_MAX, &errstr);
usr.bin/vmstat/vmstat.c
760
mib[3] = strtonum(ap, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
129
Lflag = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
135
nargs = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
143
maxprocs = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
159
nline = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xinstall/xinstall.c
159
gid = strtonum(group, 0, GID_MAX, &errstr);
usr.bin/xinstall/xinstall.c
164
uid = strtonum(owner, 0, UID_MAX, &errstr);
usr.sbin/acme-client/netproc.c
115
*port = strtonum(ep + 1, 1, USHRT_MAX, &errstr);
usr.sbin/acme-client/parse.y
754
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/apmd/apmd.c
450
ts.tv_sec = strtonum(optarg, 1, LLONG_MAX, &errstr);
usr.sbin/apmd/apmd.c
478
warnlimit = strtonum(optarg, 1, 100, &errstr);
usr.sbin/apmd/apmd.c
485
autolimit = strtonum(optarg, 1, 100, &errstr);
usr.sbin/apmd/apmd.c
492
autolimit = strtonum(optarg, 1, 100, &errstr);
usr.sbin/arp/arp.c
125
rdomain = strtonum(optarg, 0, RT_TABLEID_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1014
mask = strtonum(p + 1, 0, 128, &errstr);
usr.sbin/bgpctl/parser.c
1068
uvalh = strtonum(parseword, 0, USHRT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1071
uval = strtonum(dot, 0, USHRT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1075
uval = strtonum(parseword, 0, UINT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1095
uval = strtonum(word, 0, UINT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1171
*val = strtonum(s, 0, max, &errstr);
usr.sbin/bgpctl/parser.c
1294
strtonum(s, 0, USHRT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1309
uval = strtonum(s, 0, USHRT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1316
uval = strtonum(s, 0, UINT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1324
uvalh = strtonum(s, 0, USHRT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1327
uval = strtonum(p, 0, USHRT_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1603
val = strtonum(argv[1], LLONG_MIN, LLONG_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1611
val = strtonum(argv[0], LLONG_MIN, LLONG_MAX, &errstr);
usr.sbin/bgpctl/parser.c
1616
val2 = strtonum(argv[2], LLONG_MIN, LLONG_MAX,
usr.sbin/bgpd/config.c
534
mask = strtonum(p+1, 0, 128, &errstr);
usr.sbin/bgpd/parse.y
339
uvalh = strtonum($1, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
345
uval = strtonum(dot, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
381
uvalh = strtonum($1, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
387
uval = strtonum(dot, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
3952
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/bgpd/parse.y
4357
*val = strtonum(s, 0, max, &errstr);
usr.sbin/bgpd/parse.y
4495
strtonum(s, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
4510
uval = strtonum(s, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
4519
uval = strtonum(s, 0, UINT_MAX, &errstr);
usr.sbin/bgpd/parse.y
4529
uvalh = strtonum(s, 0, USHRT_MAX, &errstr);
usr.sbin/bgpd/parse.y
4534
uval = strtonum(p, 0, USHRT_MAX, &errstr);
usr.sbin/bgplgd/qs.c
150
mask = strtonum(p+1, 0, 128, &errstr);
usr.sbin/bpflogd/bpflogd.c
172
bd->bd_snaplen = strtonum(optarg, 60, BPF_MAXBUFSIZE,
usr.sbin/bpflogd/bpflogd.c
181
waitms = strtonum(optarg, 10, 300000, &errstr);
usr.sbin/btrace/bt_parse.y
281
val = (long)strtonum(vargs[index-1], LONG_MIN, LONG_MAX,
usr.sbin/btrace/bt_parse.y
958
num = strtonum(buf, 1, INT_MAX, &errstr);
usr.sbin/btrace/btrace.c
357
idx = strtonum(sysnb, 1, SYS_MAXSYSCALL, &errstr);
usr.sbin/cron/atrun.c
116
run_time = strtonum(file->d_name, 0, LLONG_MAX, &errstr);
usr.sbin/cron/atrun.c
277
*nuid = strtonum(cp, 0, UID_MAX - 1, &errstr);
usr.sbin/cron/atrun.c
285
*ngid = strtonum(cp, 0, GID_MAX - 1, &errstr);
usr.sbin/cron/entry.c
632
i = strtonum(temp, low, high, &errstr);
usr.sbin/dhcp6leasectl/dhcp6leasectl.c
87
maxwait = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/dhcpd/confpars.c
870
numval = strtonum(val, 0, 32, &errstr);
usr.sbin/dhcpd/confpars.c
872
numval = strtonum(val, 0, UINT8_MAX, &errstr);
usr.sbin/dhcpd/parse.c
297
value = strtonum(val, 0, UINT32_MAX, &errstr);
usr.sbin/dhcpd/sync.c
182
ttl = (u_int8_t)strtonum(ttlstr, 1, UINT8_MAX, &errstr);
usr.sbin/dhcpleasectl/dhcpleasectl.c
87
maxwait = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/dhcrelay6/dhcrelay6.c
188
enterpriseno = strtonum(optarg, 1, UINT32_MAX, &errp);
usr.sbin/dvmrpd/parse.y
618
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/eigrpctl/parser.c
407
uval = strtonum(word, EIGRP_MIN_AS, EIGRP_MAX_AS, &errstr);
usr.sbin/eigrpctl/parser.c
466
mask = strtonum(p + 1, 0, 128, &errstr);
usr.sbin/eigrpd/parse.y
1285
*plen = strtonum(p + 1, 0, maxplen, &errstr);
usr.sbin/eigrpd/parse.y
867
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/fdformat/fdformat.c
175
cyls = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
181
secs = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
187
heads = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
193
rate = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
199
gaplen = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
205
secsize = strtonum(optarg, 0, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
215
steps = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/fdformat/fdformat.c
221
intleave = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
650
loglevel = strtonum(optarg, LOG_EMERG, LOG_DEBUG,
usr.sbin/ftp-proxy/ftp-proxy.c
659
max_sessions = strtonum(optarg, 1, 500, &errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
686
timeout = strtonum(optarg, 0, 86400, &errstr);
usr.sbin/gpioctl/gpioctl.c
120
ga_offset = strtonum(offset, 0, INT_MAX, &errstr);
usr.sbin/gpioctl/gpioctl.c
132
lval = strtonum(flags, 0, UINT_MAX, &errstr);
usr.sbin/gpioctl/gpioctl.c
147
pin = strtonum(argv[1], 0, INT_MAX, &errstr);
usr.sbin/gpioctl/gpioctl.c
168
value = strtonum(argv[2], INT_MIN, INT_MAX,
usr.sbin/hostapd/parse.y
1578
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/httpd/httpd.c
158
proc_instance = strtonum(optarg, 0,
usr.sbin/httpd/parse.y
1747
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/httpd/parse.y
2496
llval = strtonum(n, 0, UINT16_MAX, &errstr);
usr.sbin/httpd/server_fcgi.c
839
code = (int)strtonum(value, 100, 600, &errstr);
usr.sbin/httpd/server_file.c
801
r->end = strtonum(end_str, 0, LLONG_MAX, &errstr);
usr.sbin/httpd/server_file.c
811
r->start = strtonum(start_str, 0, LLONG_MAX, &errstr);
usr.sbin/httpd/server_http.c
1149
n = strtonum(ibuf + 1, 0,
usr.sbin/httpd/server_http.c
390
clt->clt_toread = strtonum(value, 0, LLONG_MAX,
usr.sbin/httpd/server_http.c
868
*portval = strtonum(port, 0, 0xffff, &errstr);
usr.sbin/identd/identd.c
267
timeout.tv_sec = strtonum(optarg,
usr.sbin/ifstated/parse.y
612
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/inetd/inetd.c
421
strtonum(sbuf, 1, USHRT_MAX, NULL) == 20) {
usr.sbin/inetd/inetd.c
621
sep->se_rpcprog = strtonum(sep->se_service,
usr.sbin/inetd/inetd.c
638
u_short port = htons(strtonum(sep->se_service,
usr.sbin/inetd/inetd.c
677
sep->se_rpcprog = strtonum(sep->se_service,
usr.sbin/inetd/inetd.c
694
u_short port = htons(strtonum(sep->se_service,
usr.sbin/iostat/iostat.c
128
reps = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/iostat/iostat.c
154
interval = strtonum(optarg, 1, UINT_MAX, &errstr);
usr.sbin/iostat/iostat.c
445
interval = strtonum(*argv, 1, UINT_MAX, &errstr);
usr.sbin/iostat/iostat.c
449
reps = strtonum(*argv, 1, INT_MAX, &errstr);
usr.sbin/iscsictl/parse.y
602
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/kgmon/kgmon.c
104
cpuid = strtonum(optarg, 0, 1024, &p);
usr.sbin/ldapd/parse.y
705
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/ldomctl/parse.y
302
vcpu_opts.count = strtonum($1, 0, INT_MAX, &errstr);
usr.sbin/ldomctl/parse.y
307
vcpu_opts.stride = strtonum(colon, 0, INT_MAX, &errstr);
usr.sbin/ldomctl/parse.y
581
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/ldpd/parse.y
1181
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/lpd/frontend_lpr.c
484
count = strtonum(argv[0], 1, LPR_MAXFILESIZE, &errstr);
usr.sbin/lpd/frontend_lpr.c
588
jobnum = strtonum(arg, 0, INT_MAX, &errstr);
usr.sbin/lpd/lp.c
638
pid = strtonum(line, 2, XXX_PID_MAX, &errstr);
usr.sbin/lpd/lp.c
915
minfree = strtonum(line, 0, INT_MAX, &errstr);
usr.sbin/lpd/parse.y
472
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/lpd/printer.c
417
num = strtonum(line + 1, 0, INT_MAX, &errstr);
usr.sbin/lpd/printer.c
470
num = strtonum(line + 1, 0, INT_MAX, &errstr);
usr.sbin/lpr/common_source/displayq.c
105
termwidth = strtonum(p, 1, INT_MAX, NULL);
usr.sbin/map-mbone/mapper.c
818
debug = strtonum(optarg, 0, 3, &errstr);
usr.sbin/map-mbone/mapper.c
835
retries = strtonum(optarg, 0, INT_MAX, &errstr);
usr.sbin/map-mbone/mapper.c
842
timeout = strtonum(optarg, 0, INT_MAX, &errstr);
usr.sbin/mrinfo/mrinfo.c
309
debug = strtonum(optarg, 0, 3, &errstr);
usr.sbin/mrinfo/mrinfo.c
320
retries = strtonum(optarg, 0, INT_MAX, &errstr);
usr.sbin/mrinfo/mrinfo.c
327
timeout = strtonum(optarg, 0, INT_MAX, &errstr);
usr.sbin/mrouted/main.c
102
debug = strtonum(optarg, 0, 3, &errstr);
usr.sbin/ndp/ndp.c
180
repeat = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/ndp/ndp.c
186
rdomain = strtonum(optarg, 0, RT_TABLEID_MAX, &errstr);
usr.sbin/npppd/npppd/parse.y
1369
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/ntpd/parse.y
731
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/ocspcheck/ocspcheck.c
170
pp = strtonum(ep + 1, 1, SHRT_MAX, &errstr);
usr.sbin/ospf6ctl/parser.c
343
ina.s_addr = htonl(strtonum(word, 0, 0xffffffff, &errstr));
usr.sbin/ospf6ctl/parser.c
363
mask = strtonum(p + 1, 0, 128, &errstr);
usr.sbin/ospf6d/parse.y
1307
mask = strtonum(p + 1, 0, 128, &errstr);
usr.sbin/ospf6d/parse.y
895
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/ospfctl/parser.c
337
ina.s_addr = htonl(strtonum(word, 0, 0xffffffff, &errstr));
usr.sbin/ospfd/parse.y
1086
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/pcidump/pcidump.c
303
*bus = strtonum(b, 0, 255, &errstr);
usr.sbin/pcidump/pcidump.c
306
*dev = strtonum(d, 0, 31, &errstr);
usr.sbin/pcidump/pcidump.c
309
*func = strtonum(f, 0, 7, &errstr);
usr.sbin/pppd/chat/chat.c
1084
timeout = strtonum(s, -1, 10000, &errstr);
usr.sbin/pppd/chat/chat.c
249
timeout = strtonum(optarg, 0, 10000, &errstr);
usr.sbin/pppd/pppstats/pppstats.c
332
count = strtonum(optarg, 1, 1000, &errstr);
usr.sbin/pppd/pppstats/pppstats.c
337
interval = strtonum(optarg, 1, 1000, &errstr);
usr.sbin/pppd/sys-bsd.c
1433
pid = strtonum(hdb_lock_buffer, 1, 65535, &errstr);
usr.sbin/procmap/procmap.c
1047
pid = (pid_t)strtonum(str, 0, INT_MAX, NULL);
usr.sbin/procmap/procmap.c
235
debug = strtonum(optarg, 0, 0x1f, &errstr);
usr.sbin/rad/parse.y
246
prefixlen = strtonum(p, 0, 128, &errstr);
usr.sbin/rad/parse.y
333
prefixlen = strtonum(p, 0, 128, &errstr);
usr.sbin/rad/parse.y
776
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/radiusctl/parser.c
275
num = strtonum(word, 1, UINT16_MAX, &errstr);
usr.sbin/radiusctl/parser.c
307
num = strtonum(word, 0, 65535, &errstr);
usr.sbin/radiusctl/parser.c
322
num = strtonum(word,
usr.sbin/radiusctl/parser.c
336
num = strtonum(word,
usr.sbin/radiusctl/parser.c
350
num = strtonum(word,
usr.sbin/radiusctl/parser.c
374
res.session_seq = strtonum(word, 1, UINT_MAX, &errstr);
usr.sbin/radiusd/parse.y
804
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/radiusd/radiusd_ipcp.c
1906
masklen = strtonum(++sep, 0, 32, &errstr);
usr.sbin/radiusd/radiusd_ipcp.c
437
module->max_sessions = strtonum(argv[0], 0, INT_MAX, &errmsg);
usr.sbin/radiusd/radiusd_ipcp.c
445
module->user_max_sessions = strtonum(argv[0], 0, INT_MAX,
usr.sbin/radiusd/radiusd_ipcp.c
454
module->start_wait = strtonum(argv[0], 1, INT_MAX, &errmsg);
usr.sbin/radiusd/radiusd_ipcp.c
502
module->session_timeout = strtonum(argv[0], 1, INT_MAX,
usr.sbin/radiusd/radiusd_radius.c
185
module->req_timeout = (int)strtonum(paramvalv[0], 0,
usr.sbin/radiusd/radiusd_radius.c
195
module->max_tries = (int)strtonum(paramvalv[0], 0,
usr.sbin/radiusd/radiusd_radius.c
206
module->max_failovers = (int)strtonum(paramvalv[0], 0,
usr.sbin/radiusd/radiusd_standard.c
176
attr->type = strtonum(argv[0], 0, 255, &errstr);
usr.sbin/radiusd/radiusd_standard.c
184
attr->vendor = strtonum(argv[0], 0, UINT32_MAX,
usr.sbin/radiusd/radiusd_standard.c
187
attr->vtype = strtonum(argv[1], 0, 255,
usr.sbin/rbootd/bpf.c
283
n = strtonum(cp, 0, INT_MAX, &errstr);
usr.sbin/relayctl/parser.c
194
res->id.id = strtonum(word, 0, UINT_MAX, &errstr);
usr.sbin/relayctl/parser.c
206
res->id.id = strtonum(word, 0, UINT_MAX, &errstr);
usr.sbin/relayctl/parser.c
218
res->id.id = strtonum(word, 0, UINT_MAX, &errstr);
usr.sbin/relayd/agentx_control.c
1132
o->o_id[o->o_n++] = strtonum(sp, 0, UINT_MAX, &errstr);
usr.sbin/relayd/check_tcp.c
377
code = strtonum(scode, 100, 999, &estr);
usr.sbin/relayd/parse.y
2760
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/relayd/parse.y
3496
llval = strtonum(n, 0, UINT16_MAX, &errstr);
usr.sbin/relayd/relay_http.c
1710
nstrip = strtonum(kv->kv_value, 0, INT_MAX, NULL);
usr.sbin/relayd/relay_http.c
2072
desc->http_status = strtonum(desc->http_rescode, 100, 599,
usr.sbin/relayd/relay_http.c
331
cre->toread = strtonum(value, 0,
usr.sbin/relayd/relayd.c
162
proc_instance = strtonum(optarg, 0,
usr.sbin/ripd/parse.y
653
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/rpc.lockd/lockd.c
80
debug_level = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/rpc.lockd/lockd.c
87
grace_period = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/rpki-client/http.c
1285
status = strtonum(ststr, 100, 599, &errstr);
usr.sbin/rpki-client/http.c
1394
conn->iosz = strtonum(cp, 0, MAX_CONTENTLEN, &errstr);
usr.sbin/rpki-client/main.c
1108
nthreads = strtonum(optarg, 1, 128, &errs);
usr.sbin/rpki-client/main.c
1113
evaluation_time = strtonum(optarg, X509_TIME_MIN + 1,
usr.sbin/rpki-client/main.c
1122
timeout = strtonum(optarg, 0, 24*60*60, &errs);
usr.sbin/rpki-client/repo.c
712
state->serial = strtonum(line, 1, LLONG_MAX, &errstr);
usr.sbin/rpki-client/repo.c
720
rr->last_reset = strtonum(line, 1, LLONG_MAX, &errstr);
usr.sbin/rpki-client/rrdp_delta.c
67
dxml->version = strtonum(attr[i + 1],
usr.sbin/rpki-client/rrdp_delta.c
78
dxml->serial = strtonum(attr[i + 1],
usr.sbin/rpki-client/rrdp_notification.c
178
nxml->version = strtonum(attr[i + 1],
usr.sbin/rpki-client/rrdp_notification.c
184
nxml->serial = strtonum(attr[i + 1],
usr.sbin/rpki-client/rrdp_notification.c
289
delta_serial = strtonum(attr[i + 1],
usr.sbin/rpki-client/rrdp_snapshot.c
65
sxml->version = strtonum(attr[i + 1],
usr.sbin/rpki-client/rrdp_snapshot.c
76
sxml->serial = strtonum(attr[i + 1],
usr.sbin/sa/main.c
163
cutoff = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/sensorsd/sensorsd.c
120
check_period = strtonum(optarg, 1, 600, &errstr);
usr.sbin/slowcgi/slowcgi.c
310
timeout.tv_sec = strtonum(optarg, 1, TIMEOUT_MAX,
usr.sbin/smtpd/envelope.c
129
version = strtonum(val, 1, 64, &errstr);
usr.sbin/smtpd/envelope.c
209
*dest = strtonum(buf, 0, 0xff, &errstr);
usr.sbin/smtpd/envelope.c
220
*dest = strtonum(buf, 0, 0xffff, &errstr);
usr.sbin/smtpd/envelope.c
231
*dest = strtonum(buf, 0, 0xffffffff, &errstr);
usr.sbin/smtpd/envelope.c
242
*dest = strtonum(buf, 0, LLONG_MAX, &errstr);
usr.sbin/smtpd/mda_variables.c
80
endoff = begoff = strtonum(content, -EXPAND_BUFFER,
usr.sbin/smtpd/mda_variables.c
85
begoff = strtonum(content, -EXPAND_BUFFER,
usr.sbin/smtpd/mda_variables.c
89
endoff = strtonum(sep, -EXPAND_BUFFER,
usr.sbin/smtpd/mta_session.c
1280
s->ext_size = strtonum(msg+5, 0, UINT32_MAX, &error);
usr.sbin/smtpd/parse.y
3008
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/smtpd/parse.y
3621
delay = strtonum(str, 1, INT_MAX / factor, &errstr);
usr.sbin/smtpd/parser.c
135
res->u.u_int = strtonum(str, INT_MIN, INT_MAX, &e);
usr.sbin/smtpd/parser.c
157
res->u.u_routeid = strtonum(str, 1, LLONG_MAX, &e);
usr.sbin/smtpd/parser.c
324
in6->sin6_scope_id = strtonum(cp, 0, UINT32_MAX, &errstr);
usr.sbin/smtpd/smtp_client.c
734
proto->ext_size = strtonum(msg + 5, 0, SIZE_T_MAX, &e);
usr.sbin/smtpd/spfwalk.c
378
tgt->cidr4 = strtonum(m4, 0, 32, &err);
usr.sbin/smtpd/spfwalk.c
386
tgt->cidr6 = strtonum(m6, 0, 128, &err);
usr.sbin/smtpd/table.c
718
sin6->sin6_scope_id = strtonum(cp, 0, UINT32_MAX, &errstr);
usr.sbin/smtpd/to.c
355
relay->port = strtonum(p+1, 1, IPPORT_HILASTAUTO, &errstr);
usr.sbin/smtpd/to.c
529
userinfo->uid = strtonum(buf, 0, UID_MAX, &errstr);
usr.sbin/smtpd/to.c
539
userinfo->gid = strtonum(buf, 0, GID_MAX, &errstr);
usr.sbin/snmpd/mib.y
1273
strtonum(buf, LLONG_MIN, LLONG_MAX, &errstr);
usr.sbin/snmpd/parse.y
1571
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/snmpd/parse.y
513
$$.axm_owner = strtonum($2, 0, UID_MAX, &errstr);
usr.sbin/snmpd/parse.y
537
$$.axm_group = strtonum($2, 0, GID_MAX, &errstr);
usr.sbin/snmpd/smi.c
123
strtonum(sp, 0, UINT_MAX, &errstr);
usr.sbin/snmpd/snmpd.c
170
proc_instance = strtonum(optarg, 0,
usr.sbin/syslogc/syslogc.c
103
cc.lines = strtonum(optarg, 1, UINT32_MAX, &errstr);
usr.sbin/syslogd/parsemsg.c
74
maybepri = strtonum(buf, 0, INT_MAX, &errstr);
usr.sbin/syslogd/syslogd.c
441
MarkInterval = strtonum(optarg, 0, 365*24*60, &errstr);
usr.sbin/syslogd/syslogd.c
450
PrivChild = strtonum(optarg, 2, INT_MAX, &errstr);
usr.sbin/tcpdump/tcpdump.c
262
cnt = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/tcpdump/tcpdump.c
334
snaplen = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/tftp-proxy/tftp-proxy.c
252
transwait.tv_sec = strtonum(optarg, 1, 30, &errstr);
usr.sbin/tftpd/tftpd.c
1052
strtonum(options[OPT_TSIZE].o_request,
usr.sbin/tftpd/tftpd.c
887
to = strtonum(options[OPT_TIMEOUT].o_request,
usr.sbin/tftpd/tftpd.c
897
client->segment_size = strtonum(
usr.sbin/traceroute/traceroute.c
444
conf->first_ttl = strtonum(optarg, 1, conf->max_ttl,
usr.sbin/traceroute/traceroute.c
477
conf->max_ttl = strtonum(optarg, conf->first_ttl,
usr.sbin/traceroute/traceroute.c
490
conf->port = strtonum(optarg, 1, 65535, &errstr);
usr.sbin/traceroute/traceroute.c
498
conf->proto = strtonum(optarg, 1, IPPROTO_MAX - 1,
usr.sbin/traceroute/traceroute.c
512
conf->nprobes = strtonum(optarg, 1, 1024, &errstr);
usr.sbin/traceroute/traceroute.c
540
conf->tos = strtonum(optarg, 0, 255,
usr.sbin/traceroute/traceroute.c
554
conf->rtableid = (unsigned int)strtonum(optarg, 0,
usr.sbin/traceroute/traceroute.c
567
conf->waittime = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/traceroute/traceroute.c
652
datalen = strtonum(*argv, 0, INT_MAX, &errstr);
usr.sbin/usbdevs/usbdevs.c
245
addr = strtonum(optarg, 1, USB_MAX_DEVICES-1, &errstr);
usr.sbin/user/user.c
1014
uid = strtonum(name, -1, UID_MAX, &errstr);
usr.sbin/user/user.c
1030
gid = strtonum(name, -1, GID_MAX, &errstr);
usr.sbin/user/user.c
1926
u.u_uid = strtonum(optarg, -1, UID_MAX, &errstr);
usr.sbin/user/user.c
2064
u.u_uid = strtonum(optarg, -1, UID_MAX, &errstr);
usr.sbin/user/user.c
2122
strtonum(optarg, INT_MIN, INT_MAX, NULL);
usr.sbin/user/user.c
2188
gid = strtonum(optarg, -1, GID_MAX, &errstr);
usr.sbin/user/user.c
2286
gid = strtonum(optarg, -1, GID_MAX, &errstr);
usr.sbin/user/user.c
911
strtonum(cp, INT_MIN, INT_MAX, NULL);
usr.sbin/vmctl/main.c
356
val = strtonum(word, 1, INT_MAX, &error);
usr.sbin/vmctl/main.c
514
id = strtonum(word, 0, UINT32_MAX, &error);
usr.sbin/vmd/parse.y
1094
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/vmd/parse.y
1431
mask = strtonum(p + 1, 1, 16, errstr);
usr.sbin/vmd/parse.y
1497
mask = strtonum(p + 1, 0, 64, errstr);
usr.sbin/vmd/priv.c
276
unit = strtonum(ifname + span, 0, UINT_MAX, &errstr);
usr.sbin/vmd/vmd.c
591
vm_fd = strtonum(optarg, 0, 128, &errp);
usr.sbin/vmd/vmd.c
597
vm_fd = strtonum(optarg, 0, 128, &errp);
usr.sbin/vmd/vmd.c
612
vmm_fd = strtonum(optarg, 0, 128, &errp);
usr.sbin/vmd/vmd.c
618
psp_fd = strtonum(optarg, -1, 128, &errp);
usr.sbin/watchdogd/watchdogd.c
70
interval = (u_int)strtonum(optarg, 1LL, 86400LL,
usr.sbin/watchdogd/watchdogd.c
79
period = (u_int)strtonum(optarg, 2LL, 86400LL, &errstr);
usr.sbin/wsfontload/wsfontload.c
104
f.fontheight = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/wsfontload/wsfontload.c
99
f.fontwidth = strtonum(optarg, 1, INT_MAX, &errstr);
usr.sbin/ypldap/aldap.c
771
lu->port = strtonum(++forward2, 0, PORT_MAX, &errstr);
usr.sbin/ypldap/ldapclient.c
438
ir->ir_key.ik_uid = strtonum(
usr.sbin/ypldap/ldapclient.c
442
ir->ir_key.ik_gid = strtonum(
usr.sbin/ypldap/ldapclient.c
472
ir->ir_key.ik_uid = strtonum(
usr.sbin/ypldap/ldapclient.c
476
ir->ir_key.ik_uid = strtonum(
usr.sbin/ypldap/parse.y
794
yylval.v.number = strtonum(buf, LLONG_MIN,
usr.sbin/ypldap/yp.c
471
ukey.ue_uid = strtonum(key, 0, UID_MAX, &estr);
usr.sbin/ypldap/yp.c
486
gkey.ge_gid = strtonum(key, 0, GID_MAX, &estr);
usr.sbin/ypldap/yp.c
534
ukey.ue_uid = strtonum(cp, 0, UID_MAX, &estr);
usr.sbin/ypldap/ypldap.c
202
pw_gid = (gid_t)strtonum(bp, 0, GID_MAX, &errstr);