/openbsd-current/regress/sys/netinet6/rip6cksum/ |
H A D | rip6cksum.c | 57 const char *errstr; local 67 ckoff = strtonum(optarg, INT_MIN, INT_MAX, &errstr); 68 if (errstr != NULL) 69 errx(1, "ckoff is %s: %s", errstr, optarg); 76 recvsz = strtonum(optarg, 0, INT_MAX, &errstr); 77 if (errstr != NULL) 78 errx(1, "recvsz is %s: %s", errstr, optarg); 82 sendsz = strtonum(optarg, 0, INT_MAX, &errstr); 83 if (errstr != NULL) 84 errx(1, "sendsz is %s: %s", errstr, optar [all...] |
/openbsd-current/sbin/dhclient/ |
H A D | parse.c | 158 const char *errstr; local 169 numval = strtonum(val, 0, 32, &errstr); 171 numval = strtonum(val, 0, UINT8_MAX, &errstr); 172 if (errstr != NULL) 198 const char *errstr; local 207 numval = strtonum(val, 0, UINT8_MAX, &errstr); 208 if (errstr != NULL) 256 const char *errstr; local 263 numval = strtonum(val, low, high, &errstr); 264 if (errstr [all...] |
/openbsd-current/regress/sys/netinet6/mcast6/ |
H A D | mc6recv.c | 58 const char *errstr, *file, *group, *ifname; local 85 timeout = strtonum(optarg, 1, INT_MAX, &errstr); 86 if (errstr != NULL) 87 errx(1, "no timeout is %s: %s", errstr, optarg); 90 port = strtonum(optarg, 1, 0xffff, &errstr); 91 if (errstr != NULL) 92 errx(1, "port is %s: %s", errstr, optarg); 95 timeout = strtonum(optarg, 1, INT_MAX, &errstr); 96 if (errstr != NULL) 97 errx(1, "timeout is %s: %s", errstr, optar [all...] |
/openbsd-current/regress/sys/netinet/mcast/ |
H A D | mcrecv.c | 57 const char *errstr, *file, *group, *ifaddr; local 84 timeout = strtonum(optarg, 1, INT_MAX, &errstr); 85 if (errstr != NULL) 86 errx(1, "no timeout is %s: %s", errstr, optarg); 89 port = strtonum(optarg, 1, 0xffff, &errstr); 90 if (errstr != NULL) 91 errx(1, "port is %s: %s", errstr, optarg); 94 timeout = strtonum(optarg, 1, INT_MAX, &errstr); 95 if (errstr != NULL) 96 errx(1, "timeout is %s: %s", errstr, optar [all...] |
/openbsd-current/usr.bin/rs/ |
H A D | rs.c | 352 const char *errstr; local 387 owidth = strtonum(optarg, 1, INT_MAX, &errstr); 388 if (errstr) { 389 warnx("width %s", errstr); 397 skip = strtonum(optarg, 0, INT_MAX, &errstr); 398 if (errstr) { 399 warnx("skip value %s", errstr); 409 gutter = strtonum(optarg, 0, INT_MAX, &errstr); 410 if (errstr) { 411 warnx("gutter width %s", errstr); [all...] |
/openbsd-current/lib/libc/gen/ |
H A D | fstab.c | 55 const char *errstr; local 78 INT_MAX, &errstr); 79 if (errstr) 85 &errstr); 86 if (errstr) 106 _fs_fstab.fs_freq = strtonum(cp, 0, INT_MAX, &errstr); 107 if (errstr) 111 &errstr); 112 if (errstr)
|
/openbsd-current/usr.sbin/httpd/ |
H A D | server_fcgi.c | 101 const char *stripped, *alias, *errstr = NULL; local 125 errstr = "failed to allocate evbuffer"; 139 errstr = "failed to allocate fcgi buffer event"; 159 errstr = "failed to write to evbuffer"; 177 errstr = "failed to get script name"; 191 errstr = "failed to encode param"; 198 errstr = "failed to encode param"; 214 errstr = "failed to encode param"; 219 errstr = "failed to encode param"; 226 errstr 819 const char *errstr; local [all...] |
/openbsd-current/regress/sys/kern/signal/sigpthread/ |
H A D | sigpthread.c | 63 const char *errstr; local 71 threadkill = strtonum(optarg, 0, INT_MAX, &errstr); 72 if (errstr != NULL) 74 errstr, optarg); 83 threadmax = strtonum(optarg, 1, INT_MAX, &errstr); 84 if (errstr != NULL) 86 errstr, optarg); 92 threadunblock = strtonum(optarg, 0, INT_MAX, &errstr); 93 if (errstr != NULL) 95 errstr, optar [all...] |
/openbsd-current/usr.bin/nl/ |
H A D | nl.c | 117 const char *errstr; local 160 incr = strtonum(optarg, INT_MIN, INT_MAX, &errstr); 161 if (errstr) 163 errstr, optarg); 166 nblank = strtonum(optarg, 0, UINT_MAX, &errstr); 167 if (errstr) 170 errstr, optarg); 187 startnum = strtonum(optarg, INT_MIN, INT_MAX, &errstr); 188 if (errstr) 191 errstr, optar [all...] |
/openbsd-current/usr.bin/xargs/ |
H A D | xargs.c | 79 const char *errstr; local 129 Lflag = strtonum(optarg, 0, INT_MAX, &errstr); 130 if (errstr) 131 errx(1, "-L %s: %s", optarg, errstr); 135 nargs = strtonum(optarg, 1, INT_MAX, &errstr); 136 if (errstr) 137 errx(1, "-n %s: %s", optarg, errstr); 143 maxprocs = strtonum(optarg, 1, INT_MAX, &errstr); 144 if (errstr) 145 errx(1, "-P %s: %s", optarg, errstr); [all...] |
/openbsd-current/lib/libc/stdlib/ |
H A D | strtonum.c | 36 const char *errstr; member in struct:errval 59 *errstrp = ev[error].errstr;
|
/openbsd-current/sbin/mount_ntfs/ |
H A D | mount_ntfs.c | 138 const char *errstr; local 143 gid = strtonum(s, 0, GID_MAX, &errstr); 144 if (errstr) 145 errx(1, "group is %s: %s", errstr, s); 153 const char *errstr; local 158 uid = strtonum(s, 0, UID_MAX, &errstr); 159 if (errstr) 160 errx(1, "user is %s: %s", errstr, s);
|
/openbsd-current/sbin/mount_msdos/ |
H A D | mount_msdos.c | 157 const char *errstr; local 162 gid = strtonum(s, 0, GID_MAX, &errstr); 163 if (errstr) 164 errx(1, "group is %s: %s", errstr, s); 172 const char *errstr; local 177 uid = strtonum(s, 0, UID_MAX, &errstr); 178 if (errstr) 179 errx(1, "user is %s: %s", errstr, s);
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_sock_errstr.t | 31 is($IO::Socket::errstr, "IO::Socket::INET: connect: $EINVAL_STR", 32 'error message appears in $IO::Socket::errstr');
|
/openbsd-current/usr.bin/cvs/ |
H A D | config.c | 41 const char *errstr; local 65 &errstr); 66 if (errstr != NULL) 68 val, errstr);
|
/openbsd-current/games/caesar/ |
H A D | caesar.c | 70 const char *errstr; local 83 i = strtonum(argv[1], -25, 25, &errstr); 84 if (errstr) 85 errx(1, "rotation is %s: %s", errstr, argv[1]);
|
/openbsd-current/regress/lib/libc/sys/ |
H A D | atf-c.c | 43 const char *errstr, *num; local 73 test = strtonum(num, 1, INT_MAX, &errstr); 74 if (errstr != NULL) 75 errx(1, "test # is %s: %s", errstr, argv[1]);
|
/openbsd-current/usr.sbin/radiusctl/ |
H A D | parser.c | 184 const char *errstr; local 234 num = strtonum(word, 1, UINT16_MAX, &errstr); 235 if (errstr != NULL) { 238 word, errstr); 266 num = strtonum(word, 0, 65535, &errstr); 267 if (errstr != NULL) { 270 "\"nas-port\"\n", word, errstr); 282 TEST_TRIES_MIN, TEST_TRIES_MAX, &errstr); 283 if (errstr != NULL) { 285 " for \"tries\"\n", word, errstr); [all...] |
/openbsd-current/regress/sys/kern/ptrace2/ |
H A D | atf-c.c | 28 const char *errstr, *num; local 58 test = strtonum(num, 1, INT_MAX, &errstr); 59 if (errstr != NULL) 60 errx(1, "test # is %s: %s", errstr, argv[1]);
|
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/ |
H A D | api-exabgp.c | 33 const char *errstr, *fifo; local 41 timeout = strtonum(optarg, 0, 120, &errstr); 42 if (errstr != NULL) 43 errx(1, "timeout is %s: %s", errstr, optarg);
|
/openbsd-current/regress/lib/libm/msun/ |
H A D | atf-c.c | 43 const char *errstr, *num; local 73 test = strtonum(num, 1, INT_MAX, &errstr); 74 if (errstr != NULL) 75 errx(1, "test # is %s: %s", errstr, argv[1]);
|
/openbsd-current/regress/sys/kern/clock_gettime/ |
H A D | monotonicrelapse.c | 36 const char *errstr; local 44 nthreads = strtonum(argv[1], 1, INT_MAX, &errstr); 45 if (errstr != NULL) 46 errx(1, "nthreads is %s: %s", errstr, argv[1]);
|
/openbsd-current/sbin/mount_cd9660/ |
H A D | mount_cd9660.c | 67 const char *errstr; local 89 sess = strtonum(optarg, 0, INT32_MAX, &errstr); 90 if (errstr) 91 errx(1, "session number is %s: %s", errstr,
|
/openbsd-current/usr.bin/telnet/ |
H A D | main.c | 82 const char *errstr; local 151 RT_TABLEID_MAX, &errstr); 152 if (errstr) { 155 prompt, errstr, optarg);
|
/openbsd-current/usr.bin/vis/ |
H A D | vis.c | 54 const char *errstr; local 88 foldwidth = strtonum(optarg, 1, INT_MAX, &errstr); 89 if (errstr) 90 errx(1, "%s: %s", optarg, errstr);
|