Symbol: getnum
games/monop/execute.c
460
return getnum("format version", txt+21,
games/monop/execute.c
525
if (getnum("numplayers", txt, 2, MAX_PL, &num_play) < 0) {
games/monop/execute.c
537
if (getnum("currentplayer", txt, 0, num_play-1, &player) < 0) {
games/monop/execute.c
546
if (getnum("doubles", txt, 0, 2, &num_doub) < 0) {
games/monop/execute.c
600
if (getnum(attribute, txt, 0, INT_MAX, &pp->money) < 0) {
games/monop/execute.c
605
if (getnum(attribute, txt, 0, N_SQRS, &tmp) < 0) {
games/monop/execute.c
610
if (getnum(attribute, txt, 0, 2, &tmp) < 0) {
games/monop/execute.c
615
if (getnum(attribute, txt, 0, 3, &tmp) < 0) {
games/monop/execute.c
640
if (getnum(attribute, txt, dp->num_cards, dp->num_cards,
games/monop/execute.c
645
if (getnum(attribute, txt, 0, dp->num_cards,
games/monop/execute.c
650
if (getnum(attribute, txt, 0, 1, &tmp) < 0) {
games/monop/execute.c
66
static int getnum(const char *what, char *txt, int min, int max, int *ret);
games/monop/execute.c
683
if (getnum(attribute, txt, -1, num_play-1, &tmp) < 0) {
games/monop/execute.c
694
if (getnum(attribute, txt, 0, 1, &tmp) < 0) {
games/monop/execute.c
703
if (getnum(attribute, txt, 0, 5, &tmp) < 0) {
games/monop/execute.c
753
return getnum(what, txt, min, max, ret);
lib/libc/stdtime/localtime.c
155
static const char * getnum(const char * strp, int * nump, int min,
lib/libc/stdtime/localtime.c
740
strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1);
lib/libc/stdtime/localtime.c
746
strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
lib/libc/stdtime/localtime.c
753
strp = getnum(strp, &num, 0, SECSPERMIN);
lib/libc/stdtime/localtime.c
803
strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR);
lib/libc/stdtime/localtime.c
810
strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR);
lib/libc/stdtime/localtime.c
815
strp = getnum(strp, &rulep->r_week, 1, 5);
lib/libc/stdtime/localtime.c
820
strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1);
lib/libc/stdtime/localtime.c
826
strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1);
test/stress/fsx/fsx.c
1010
maxfilelen = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1015
monitorstart = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1020
monitorend = getnum(endp, &endp);
test/stress/fsx/fsx.c
1030
maxoplen = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1035
progressinterval = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1043
readbdy = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1048
style = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1053
truncbdy = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1058
writebdy = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1063
debugstart = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1071
numops = getnum(optarg, &endp);
test/stress/fsx/fsx.c
1088
seed = getnum(optarg, &endp);
test/stress/fsx/fsx.c
97
static int getnum(char *s, char **e);
test/stress/fsx/fsx.c
989
simulatedopcount = getnum(optarg, &endp);
test/stress/fsx/fsx.c
998
closeprob = getnum(optarg, &endp);
usr.bin/printf/printf.c
404
if (getnum(&val, &uval, signedconv))
usr.bin/printf/printf.c
560
if (getnum(&val, &uval, 1))
usr.bin/printf/printf.c
81
static int getnum(intmax_t *, uintmax_t *, int);
usr.bin/renice/renice.c
102
if (getnum("pid", *argv, &who)) {
usr.bin/renice/renice.c
47
static int getnum(const char *, const char *, int *);
usr.bin/renice/renice.c
74
if (getnum("priority", *argv, &prio))
usr.bin/renice/renice.c
93
else if (getnum("uid", *argv, &who)) {
usr.bin/rs/rs.c
412
p = getnum(&owidth, p, 0);
usr.bin/rs/rs.c
420
p = getnum(&skip, p, 0);
usr.bin/rs/rs.c
428
p = getnum(&gutter, p, 0);
usr.bin/rs/rs.c
431
p = getnum(&propgutter, p, 0);
usr.bin/rs/rs.c
89
static char *getnum(int *, char *, int);
usr.sbin/spray/spray.c
48
static int getnum(const char *);
usr.sbin/spray/spray.c
74
count = getnum(optarg);
usr.sbin/spray/spray.c
77
delay = getnum(optarg);
usr.sbin/spray/spray.c
80
length = getnum(optarg);