Symbol: errstr
crypto/libressl/apps/nc/netcat.c
1479
const char *errstr;
crypto/libressl/apps/nc/netcat.c
1485
port = strtonum(portstr, 1, PORT_MAX, &errstr);
crypto/libressl/apps/nc/netcat.c
1486
if (errstr == NULL)
crypto/libressl/apps/nc/netcat.c
1489
errx(1, "port number %s: %s", errstr, portstr);
crypto/libressl/apps/nc/netcat.c
169
const char *errstr;
crypto/libressl/apps/nc/netcat.c
230
iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
crypto/libressl/apps/nc/netcat.c
231
if (errstr)
crypto/libressl/apps/nc/netcat.c
232
errx(1, "interval %s: %s", errstr, optarg);
crypto/libressl/apps/nc/netcat.c
244
ttl = strtonum(optarg, 0, 255, &errstr);
crypto/libressl/apps/nc/netcat.c
245
if (errstr)
crypto/libressl/apps/nc/netcat.c
246
errx(1, "ttl is %s", errstr);
crypto/libressl/apps/nc/netcat.c
249
minttl = strtonum(optarg, 0, 255, &errstr);
crypto/libressl/apps/nc/netcat.c
250
if (errstr)
crypto/libressl/apps/nc/netcat.c
251
errx(1, "minttl is %s", errstr);
crypto/libressl/apps/nc/netcat.c
284
RT_TABLEID_MAX, &errstr);
crypto/libressl/apps/nc/netcat.c
285
if (errstr)
crypto/libressl/apps/nc/netcat.c
286
errx(1, "rtable %s: %s", errstr, optarg);
crypto/libressl/apps/nc/netcat.c
293
recvlimit = strtonum(optarg, 1, INT_MAX, &errstr);
crypto/libressl/apps/nc/netcat.c
294
if (errstr)
crypto/libressl/apps/nc/netcat.c
295
errx(1, "receive limit %s: %s", errstr, optarg);
crypto/libressl/apps/nc/netcat.c
298
timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr);
crypto/libressl/apps/nc/netcat.c
299
if (errstr)
crypto/libressl/apps/nc/netcat.c
300
errx(1, "timeout %s: %s", errstr, optarg);
crypto/libressl/apps/nc/netcat.c
321
Iflag = strtonum(optarg, 1, 65536 << 14, &errstr);
crypto/libressl/apps/nc/netcat.c
322
if (errstr != NULL)
crypto/libressl/apps/nc/netcat.c
324
errstr, optarg);
crypto/libressl/apps/nc/netcat.c
327
Oflag = strtonum(optarg, 1, 65536 << 14, &errstr);
crypto/libressl/apps/nc/netcat.c
328
if (errstr != NULL)
crypto/libressl/apps/nc/netcat.c
330
errstr, optarg);
crypto/libressl/apps/nc/netcat.c
341
errstr = NULL;
crypto/libressl/apps/nc/netcat.c
352
&errstr);
crypto/libressl/apps/nc/netcat.c
353
if (Tflag < 0 || Tflag > 255 || errstr || errno)
crypto/libressl/apps/nc/netcat.c
838
const char *errstr;
crypto/libressl/apps/nc/netcat.c
846
if ((errstr = tls_error(tls_ctx)) == NULL)
crypto/libressl/apps/nc/netcat.c
847
errstr = strerror(errno);
crypto/libressl/apps/nc/netcat.c
848
errx(1, "tls handshake failed (%s)", errstr);
crypto/libressl/apps/nc/netcat.c
866
const char *errstr;
crypto/libressl/apps/nc/netcat.c
871
if ((errstr = tls_error(tls_cctx)) == NULL)
crypto/libressl/apps/nc/netcat.c
872
errstr = strerror(errno);
crypto/libressl/apps/nc/netcat.c
873
warnx("tls handshake failed (%s)", errstr);
crypto/libressl/apps/openssl/apps.c
1769
const char *errstr = NULL;
crypto/libressl/apps/openssl/apps.c
1802
depth = strtonum(argn, 1, INT_MAX, &errstr);
crypto/libressl/apps/openssl/apps.c
1803
if (errstr) {
crypto/libressl/apps/openssl/apps.c
1805
argn, errstr);
crypto/libressl/apps/openssl/apps.c
2078
const char *errstr;
crypto/libressl/apps/openssl/apps.c
2168
val = strtonum(argv[i], 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/apps.c
2169
if (errstr != NULL) {
crypto/libressl/apps/openssl/apps.c
2171
errstr, opt->argname, opt->name);
crypto/libressl/apps/openssl/apps.c
2178
val = strtonum(argv[i], 0, LONG_MAX, &errstr);
crypto/libressl/apps/openssl/apps.c
2179
if (errstr != NULL) {
crypto/libressl/apps/openssl/apps.c
2181
errstr, opt->argname, opt->name);
crypto/libressl/apps/openssl/apps.c
2188
val = strtonum(argv[i], 0, LLONG_MAX, &errstr);
crypto/libressl/apps/openssl/apps.c
2189
if (errstr != NULL) {
crypto/libressl/apps/openssl/apps.c
2191
errstr, opt->argname, opt->name);
crypto/libressl/apps/openssl/apps.c
442
const char *errstr = NULL;
crypto/libressl/apps/openssl/apps.c
466
i = strtonum(arg + 3, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/apps.c
467
if (errstr) {
crypto/libressl/apps/openssl/apps.c
470
arg, errstr);
crypto/libressl/apps/openssl/asn1pars.c
108
const char *errstr;
crypto/libressl/apps/openssl/asn1pars.c
110
asn1pars_config.length = strtonum(arg, 1, UINT_MAX, &errstr);
crypto/libressl/apps/openssl/asn1pars.c
111
if (errstr) {
crypto/libressl/apps/openssl/asn1pars.c
113
errstr);
crypto/libressl/apps/openssl/asn1pars.c
244
const char *errstr = NULL;
crypto/libressl/apps/openssl/asn1pars.c
351
1, INT_MAX, &errstr);
crypto/libressl/apps/openssl/asn1pars.c
352
if (errstr) {
crypto/libressl/apps/openssl/asn1pars.c
356
i), errstr);
crypto/libressl/apps/openssl/asn1pars.c
94
const char *errstr;
crypto/libressl/apps/openssl/asn1pars.c
96
asn1pars_config.dump = strtonum(arg, 1, INT_MAX, &errstr);
crypto/libressl/apps/openssl/asn1pars.c
97
if (errstr) {
crypto/libressl/apps/openssl/asn1pars.c
99
errstr);
crypto/libressl/apps/openssl/certhash.c
251
const char *errstr;
crypto/libressl/apps/openssl/certhash.c
281
val = strtonum(p, 0, 0xffffffff, &errstr);
crypto/libressl/apps/openssl/certhash.c
282
if (errstr != NULL)
crypto/libressl/apps/openssl/dsaparam.c
190
const char *errstr;
crypto/libressl/apps/openssl/dsaparam.c
191
numbits = strtonum(strbits, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/dsaparam.c
192
if (errstr) {
crypto/libressl/apps/openssl/dsaparam.c
193
fprintf(stderr, "Invalid number of bits: %s", errstr);
crypto/libressl/apps/openssl/gendh.c
161
const char *errstr;
crypto/libressl/apps/openssl/gendh.c
162
numbits = strtonum(strbits, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/gendh.c
163
if (errstr) {
crypto/libressl/apps/openssl/gendh.c
164
fprintf(stderr, "Invalid number of bits: %s\n", errstr);
crypto/libressl/apps/openssl/ocsp.c
228
const char *errstr = NULL;
crypto/libressl/apps/openssl/ocsp.c
230
ocsp_config.ndays = strtonum(arg, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/ocsp.c
231
if (errstr != NULL) {
crypto/libressl/apps/openssl/ocsp.c
233
arg, errstr);
crypto/libressl/apps/openssl/ocsp.c
242
const char *errstr = NULL;
crypto/libressl/apps/openssl/ocsp.c
244
ocsp_config.nmin = strtonum(arg, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/ocsp.c
245
if (errstr != NULL) {
crypto/libressl/apps/openssl/ocsp.c
247
arg, errstr);
crypto/libressl/apps/openssl/ocsp.c
261
const char *errstr = NULL;
crypto/libressl/apps/openssl/ocsp.c
263
ocsp_config.accept_count = strtonum(arg, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/ocsp.c
264
if (errstr != NULL) {
crypto/libressl/apps/openssl/ocsp.c
266
arg, errstr);
crypto/libressl/apps/openssl/ocsp.c
302
const char *errstr = NULL;
crypto/libressl/apps/openssl/ocsp.c
304
ocsp_config.maxage = strtonum(arg, 0, LONG_MAX, &errstr);
crypto/libressl/apps/openssl/ocsp.c
305
if (errstr != NULL) {
crypto/libressl/apps/openssl/ocsp.c
307
arg, errstr);
crypto/libressl/apps/openssl/ocsp.c
324
const char *errstr = NULL;
crypto/libressl/apps/openssl/ocsp.c
326
ocsp_config.req_timeout = strtonum(arg, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/ocsp.c
327
if (errstr != NULL) {
crypto/libressl/apps/openssl/ocsp.c
329
arg, errstr);
crypto/libressl/apps/openssl/ocsp.c
360
const char *errstr = NULL;
crypto/libressl/apps/openssl/ocsp.c
362
ocsp_config.nsec = strtonum(arg, 0, LONG_MAX, &errstr);
crypto/libressl/apps/openssl/ocsp.c
363
if (errstr != NULL) {
crypto/libressl/apps/openssl/ocsp.c
365
arg, errstr);
crypto/libressl/apps/openssl/req.c
1595
const char *errstr;
crypto/libressl/apps/openssl/req.c
1602
keylen = strtonum(gstr, 0, LONG_MAX, &errstr);
crypto/libressl/apps/openssl/req.c
1603
if (errstr) {
crypto/libressl/apps/openssl/req.c
1604
BIO_printf(err, "bad algorithm %s: %s\n", gstr, errstr);
crypto/libressl/apps/openssl/req.c
1630
keylen = strtonum(p + 1, 0, LONG_MAX, &errstr);
crypto/libressl/apps/openssl/req.c
1631
if (errstr) {
crypto/libressl/apps/openssl/req.c
1633
p + 1, errstr);
crypto/libressl/apps/openssl/req.c
199
const char *errstr;
crypto/libressl/apps/openssl/req.c
201
req_config.days = strtonum(arg, 1, INT_MAX, &errstr);
crypto/libressl/apps/openssl/req.c
202
if (errstr != NULL) {
crypto/libressl/apps/openssl/req.c
204
arg, errstr);
crypto/libressl/apps/openssl/s_client.c
208
const char *errstr;
crypto/libressl/apps/openssl/s_client.c
255
&s_client_config.errstr);
crypto/libressl/apps/openssl/s_client.c
256
if (s_client_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_client.c
258
arg, s_client_config.errstr);
crypto/libressl/apps/openssl/s_client.c
269
&s_client_config.errstr);
crypto/libressl/apps/openssl/s_client.c
270
if (s_client_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_client.c
272
arg, s_client_config.errstr);
crypto/libressl/apps/openssl/s_client.c
388
verify_depth = strtonum(arg, 0, INT_MAX, &s_client_config.errstr);
crypto/libressl/apps/openssl/s_client.c
389
if (s_client_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_client.c
391
arg, s_client_config.errstr);
crypto/libressl/apps/openssl/s_client.c
971
if (s_client_config.errstr == NULL)
crypto/libressl/apps/openssl/s_server.c
1116
if (s_server_config.errstr == NULL)
crypto/libressl/apps/openssl/s_server.c
259
const char *errstr;
crypto/libressl/apps/openssl/s_server.c
310
&s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
311
if (s_server_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_server.c
313
arg, s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
324
&s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
325
if (s_server_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_server.c
327
arg, s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
421
&s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
422
if (s_server_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_server.c
424
arg, s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
456
verify_depth = strtonum(arg, 0, INT_MAX, &s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
457
if (s_server_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_server.c
459
arg, s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
471
verify_depth = strtonum(arg, 0, INT_MAX, &s_server_config.errstr);
crypto/libressl/apps/openssl/s_server.c
472
if (s_server_config.errstr != NULL) {
crypto/libressl/apps/openssl/s_server.c
474
arg, s_server_config.errstr);
crypto/libressl/apps/openssl/s_socket.c
312
const char *errstr;
crypto/libressl/apps/openssl/s_socket.c
315
i = strtonum(str, 1, 65535, &errstr);
crypto/libressl/apps/openssl/s_socket.c
316
if (!errstr) {
crypto/libressl/apps/openssl/speed.c
2046
const char *errstr = NULL;
crypto/libressl/apps/openssl/speed.c
2102
0, ALGOR_NUM - 1, &errstr);
crypto/libressl/apps/openssl/speed.c
2112
0, ALGOR_NUM - 1, &errstr);
crypto/libressl/apps/openssl/speed.c
2132
0, ALGOR_NUM - 1, &errstr);
crypto/libressl/apps/openssl/speed.c
2153
0, ALGOR_NUM - 1, &errstr);
crypto/libressl/apps/openssl/speed.c
2174
0, ALGOR_NUM - 1, &errstr);
crypto/libressl/apps/openssl/speed.c
2196
0, ALGOR_NUM - 1, &errstr);
crypto/libressl/apps/openssl/speed.c
480
const char *errstr = NULL;
crypto/libressl/apps/openssl/speed.c
566
multi = strtonum(argv[0], 1, INT_MAX, &errstr);
crypto/libressl/apps/openssl/speed.c
567
if (errstr) {
crypto/libressl/apps/openssl/speed.c
568
BIO_printf(bio_err, "bad multi count: %s", errstr);
crypto/libressl/apps/openssl/x509.c
215
const char *errstr;
crypto/libressl/apps/openssl/x509.c
217
x509_config.checkoffset = strtonum(arg, 0, INT_MAX, &errstr);
crypto/libressl/apps/openssl/x509.c
218
if (errstr != NULL) {
crypto/libressl/apps/openssl/x509.c
219
BIO_printf(bio_err, "checkend unusable: %s\n", errstr);
crypto/libressl/apps/openssl/x509.c
237
const char *errstr;
crypto/libressl/apps/openssl/x509.c
239
x509_config.days = strtonum(arg, 1, INT_MAX, &errstr);
crypto/libressl/apps/openssl/x509.c
240
if (errstr != NULL) {
crypto/libressl/apps/openssl/x509.c
241
BIO_printf(bio_err, "bad number of days: %s\n", errstr);
crypto/libressl/crypto/x509/x509_addr.c
1493
const char *errstr;
crypto/libressl/crypto/x509/x509_addr.c
1606
prefix_len = strtonum(s + i2, 0, 8 * length, &errstr);
crypto/libressl/crypto/x509/x509_addr.c
1607
if (errstr != NULL) {
crypto/libressl/tls/tls.c
725
const char *errstr = "unknown error";
crypto/libressl/tls/tls.c
743
errstr = ERR_error_string(err, NULL);
crypto/libressl/tls/tls.c
749
errstr = "unexpected EOF";
crypto/libressl/tls/tls.c
751
errstr = strerror(errno);
crypto/libressl/tls/tls.c
753
tls_set_ssl_errorx(ctx, "%s failed: %s", prefix, errstr);
crypto/libressl/tls/tls.c
758
errstr = ERR_error_string(err, NULL);
crypto/libressl/tls/tls.c
760
tls_set_ssl_errorx(ctx, "%s failed: %s", prefix, errstr);
crypto/libressl/tls/tls_keypair.c
138
char *errstr = "unknown";
crypto/libressl/tls/tls_keypair.c
158
errstr = ERR_error_string(ssl_err, NULL);
crypto/libressl/tls/tls_keypair.c
159
tls_error_set(error, "failed to load certificate: %s", errstr);
crypto/libressl/tls/tls_signer.c
101
errstr = ERR_error_string(ssl_err, NULL);
crypto/libressl/tls/tls_signer.c
103
errstr);
crypto/libressl/tls/tls_signer.c
85
char *errstr = "unknown";
crypto/openssh/addr.c
463
const char *errstr;
crypto/openssh/addr.c
472
masklen = (u_int)strtonum(mp, 0, INT_MAX, &errstr);
crypto/openssh/addr.c
473
if (errstr)
crypto/openssh/auth-options.c
260
const char *errstr = "unknown error";
crypto/openssh/auth-options.c
266
if ((opt = opt_dequote(optsp, &errstr)) == NULL) {
crypto/openssh/auth-options.c
329
const char *errstr = "unknown error";
crypto/openssh/auth-options.c
368
errstr = "multiple \"command\" clauses";
crypto/openssh/auth-options.c
371
ret->force_command = opt_dequote(&opts, &errstr);
crypto/openssh/auth-options.c
376
errstr = "multiple \"principals\" clauses";
crypto/openssh/auth-options.c
379
ret->cert_principals = opt_dequote(&opts, &errstr);
crypto/openssh/auth-options.c
384
errstr = "multiple \"from\" clauses";
crypto/openssh/auth-options.c
388
&errstr);
crypto/openssh/auth-options.c
392
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
397
errstr = "invalid expires time";
crypto/openssh/auth-options.c
406
errstr = "too many environment strings";
crypto/openssh/auth-options.c
409
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
414
errstr = "invalid environment string";
crypto/openssh/auth-options.c
426
errstr = "invalid environment string";
crypto/openssh/auth-options.c
454
&ret->npermitopen, &errstr) != 0)
crypto/openssh/auth-options.c
458
&ret->npermitlisten, &errstr) != 0)
crypto/openssh/auth-options.c
461
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
466
errstr = "invalid tun device";
crypto/openssh/auth-options.c
478
errstr = "unknown key option";
crypto/openssh/auth-options.c
483
errstr = "unexpected end-of-options";
crypto/openssh/auth-options.c
494
errstr = "memory allocation failed";
crypto/openssh/auth-options.c
498
*errstrp = errstr;
crypto/openssh/auth-options.c
538
const char *errstr = "internal error";
crypto/openssh/auth-options.c
631
errstr = "forced command options do not match";
crypto/openssh/auth-options.c
649
errstr = "memory allocation failed";
crypto/openssh/auth-options.c
652
*errstrp = errstr;
crypto/openssh/auth-options.h
92
struct sshauthopt *sshauthopt_parse(const char *s, const char **errstr);
crypto/openssh/dh.c
103
n = strtonum(arg, 0, 1<<30, &errstr);
crypto/openssh/dh.c
104
if (errstr != NULL || n == 0) {
crypto/openssh/dh.c
110
(dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
crypto/openssh/dh.c
111
errstr) {
crypto/openssh/dh.c
65
const char *errstr = NULL;
crypto/openssh/dh.c
85
n = strtonum(arg, 0, 5, &errstr);
crypto/openssh/dh.c
86
if (errstr != NULL || n != MODULI_TYPE_SAFE) {
crypto/openssh/dh.c
94
n = strtonum(arg, 0, 0x1f, &errstr);
crypto/openssh/dh.c
95
if (errstr != NULL ||
crypto/openssh/misc.c
1876
const char *errstr;
crypto/openssh/misc.c
1887
val = (int)strtonum(cp, 0, 255, &errstr);
crypto/openssh/misc.c
1888
if (errstr)
crypto/openssh/misc.c
232
const char *errstr;
crypto/openssh/misc.c
237
rtable = (int)strtonum(name, 0, 255, &errstr);
crypto/openssh/misc.c
2378
valid_domain(char *name, int makelower, const char **errstr)
crypto/openssh/misc.c
238
if (errstr != NULL) {
crypto/openssh/misc.c
240
error("Invalid routing domain \"%s\": %s", name, errstr);
crypto/openssh/misc.c
2412
if (errstr != NULL)
crypto/openssh/misc.c
2413
*errstr = NULL;
crypto/openssh/misc.c
2416
if (errstr != NULL)
crypto/openssh/misc.c
2417
*errstr = errbuf;
crypto/openssh/misc.c
2443
const char *errstr = NULL;
crypto/openssh/misc.c
2447
*val = strtonum(nptr, 0, INT_MAX, &errstr);
crypto/openssh/misc.c
2448
return errstr;
crypto/openssh/misc.c
519
const char *errstr;
crypto/openssh/misc.c
521
port = strtonum(s, 0, 65535, &errstr);
crypto/openssh/misc.c
522
if (errstr == NULL)
crypto/openssh/misc.c
532
const char *errstr = NULL;
crypto/openssh/misc.c
553
tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
crypto/openssh/misc.c
554
if (errstr != NULL)
crypto/openssh/misc.c
600
const char *errstr;
crypto/openssh/misc.c
614
secs = (int)strtonum(p, 0, INT_MAX, &errstr);
crypto/openssh/misc.c
615
if (errstr)
crypto/openssh/readconf.c
1059
const char *errstr;
crypto/openssh/readconf.c
1491
if ((errstr = atoi_err(arg, &value)) != NULL) {
crypto/openssh/readconf.c
1493
filename, linenum, errstr);
crypto/openssh/readconf.c
2115
if (!valid_domain(arg, 1, &errstr)) {
crypto/openssh/readconf.c
2117
errstr);
crypto/openssh/readconf.c
2333
if ((errstr = atoi_err(arg + 9,
crypto/openssh/readconf.c
2336
filename, linenum, errstr);
crypto/openssh/scp.c
476
const char *errstr;
crypto/openssh/scp.c
563
&errstr);
crypto/openssh/scp.c
564
if (errstr != NULL)
crypto/openssh/scp.c
607
&errstr);
crypto/openssh/scp.c
608
if (errstr != NULL) {
crypto/openssh/scp.c
610
"\"%s\": %s", optarg + 10, errstr);
crypto/openssh/servconf.c
1267
const char *errstr;
crypto/openssh/servconf.c
1620
if ((errstr = atoi_err(arg, &value)) != NULL)
crypto/openssh/servconf.c
1622
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
1997
if ((errstr = atoi_err(arg, &value)) != NULL)
crypto/openssh/servconf.c
1999
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
2058
if ((errstr = atoi_err(arg+13, &value)) != NULL)
crypto/openssh/servconf.c
2060
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
2063
if ((errstr = atoi_err(arg+13, &value)) != NULL)
crypto/openssh/servconf.c
2065
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
877
const char *errstr;
crypto/openssh/servconf.c
886
num = strtonum(name, 0, 255, &errstr);
crypto/openssh/servconf.c
887
if (errstr != NULL)
crypto/openssh/sftp.c
2445
const char *errstr;
crypto/openssh/sftp.c
2547
&errstr);
crypto/openssh/sftp.c
2548
if (errstr != NULL)
crypto/openssh/sftp.c
2583
&errstr);
crypto/openssh/sftp.c
2584
if (errstr != NULL) {
crypto/openssh/sftp.c
2586
"\"%s\": %s", optarg + 10, errstr);
crypto/openssh/ssh-agent.c
2302
const char *errstr = NULL;
crypto/openssh/ssh-agent.c
2310
pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr);
crypto/openssh/ssh-agent.c
2311
if (errstr) {
crypto/openssh/ssh-agent.c
2314
SSH_AGENTPID_ENV_NAME, pidstr, errstr);
crypto/openssh/ssh-keygen.c
2975
const char *errstr;
crypto/openssh/ssh-keygen.c
2981
UINT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
2982
if (errstr) {
crypto/openssh/ssh-keygen.c
2984
errstr, opts[i]+7);
crypto/openssh/ssh-keygen.c
2992
INT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
2993
if (errstr) {
crypto/openssh/ssh-keygen.c
2995
opts[i]+12, errstr);
crypto/openssh/ssh-keygen.c
3029
const char *errstr;
crypto/openssh/ssh-keygen.c
3042
opts[i]+10, 1, UINT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3043
if (errstr != NULL) {
crypto/openssh/ssh-keygen.c
3045
opts[i]+10, errstr);
crypto/openssh/ssh-keygen.c
3049
INT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3050
if (errstr) {
crypto/openssh/ssh-keygen.c
3052
opts[i]+12, errstr);
crypto/openssh/ssh-keygen.c
3363
const char *errstr;
crypto/openssh/ssh-keygen.c
3401
&errstr);
crypto/openssh/ssh-keygen.c
3402
if (errstr)
crypto/openssh/ssh-keygen.c
3404
optarg, errstr);
crypto/openssh/ssh-keygen.c
3548
rounds = (int)strtonum(optarg, 1, INT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3549
if (errstr)
crypto/openssh/ssh-keygen.c
3551
optarg, errstr);
crypto/openssh/ssh.c
256
const char *errstr = NULL;
crypto/openssh/ssh.c
282
if (!valid_domain(res->ai_canonname, 0, &errstr)) {
crypto/openssh/ssh.c
284
res->ai_canonname, name, errstr);
crypto/openssh/sshd-session.c
841
const char *errstr;
crypto/openssh/sshd-session.c
852
rtable = (int)strtonum(name, 0, 255, &errstr);
crypto/openssh/sshd-session.c
853
if (errstr != NULL) /* Shouldn't happen */
crypto/openssh/sshd-session.c
854
fatal("Invalid routing domain \"%s\": %s", name, errstr);
crypto/openssh/sshsig.c
641
const char *errstr = NULL;
crypto/openssh/sshsig.c
654
errstr = "multiple \"namespaces\" clauses";
crypto/openssh/sshsig.c
657
ret->namespaces = opt_dequote(&opts, &errstr);
crypto/openssh/sshsig.c
662
errstr = "multiple \"valid-after\" clauses";
crypto/openssh/sshsig.c
665
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/sshsig.c
670
errstr = "invalid \"valid-after\" time";
crypto/openssh/sshsig.c
676
errstr = "multiple \"valid-before\" clauses";
crypto/openssh/sshsig.c
679
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/sshsig.c
684
errstr = "invalid \"valid-before\" time";
crypto/openssh/sshsig.c
697
errstr = "unknown key option";
crypto/openssh/sshsig.c
702
errstr = "unexpected end-of-options";
crypto/openssh/sshsig.c
709
errstr = "\"valid-before\" time is before \"valid-after\"";
crypto/openssh/sshsig.c
716
*errstrp = errstr;
games/boggle/mkdict/mkdict.c
58
const char *errstr;
games/boggle/mkdict/mkdict.c
68
n = strtonum(argv[1], 1, INT_MAX, &errstr);
games/boggle/mkdict/mkdict.c
69
if (errstr)
games/boggle/mkdict/mkdict.c
70
errx(1, "%s: %s", argv[1], errstr);
games/tetris/tetris.c
155
const char *errstr;
games/tetris/tetris.c
177
&errstr);
games/tetris/tetris.c
178
if (errstr)
lib/libc/gen/syslog.c
135
char *stdp, tbuf[2048], fmt_cpy[1024], timbuf[26], errstr[64];
lib/libc/gen/syslog.c
205
strerror_r(saved_errno, errstr, sizeof(errstr));
lib/libc/gen/syslog.c
206
fputs(errstr, fmt_fp);
lib/libc/stdlib/strtonum.c
37
const char *errstr;
lib/libc/stdlib/strtonum.c
60
*errstrp = ev[error].errstr;
lib/libc/string/strerror.c
93
errstr(errnum,
lib/libc/yp/yplib.c
1089
const char *errstr;
lib/libc/yp/yplib.c
1094
errstr = "Success";
lib/libc/yp/yplib.c
1097
errstr = "Request arguments bad";
lib/libc/yp/yplib.c
1100
errstr = "RPC failure";
lib/libc/yp/yplib.c
1103
errstr = "Can't bind to server which serves this domain";
lib/libc/yp/yplib.c
1106
errstr = "No such map in server's domain";
lib/libc/yp/yplib.c
1109
errstr = "No such key in map";
lib/libc/yp/yplib.c
1112
errstr = "YP server error";
lib/libc/yp/yplib.c
1115
errstr = "Local resource allocation failure";
lib/libc/yp/yplib.c
1118
errstr = "No more records in map database";
lib/libc/yp/yplib.c
1121
errstr = "Can't communicate with portmapper";
lib/libc/yp/yplib.c
1124
errstr = "Can't communicate with ypbind";
lib/libc/yp/yplib.c
1127
errstr = "Can't communicate with ypserv";
lib/libc/yp/yplib.c
1130
errstr = "Local domain name not set";
lib/libc/yp/yplib.c
1133
errstr = "Server data base is bad";
lib/libc/yp/yplib.c
1136
errstr = "YP server version mismatch - server can't supply service.";
lib/libc/yp/yplib.c
1139
errstr = "Access violation";
lib/libc/yp/yplib.c
1142
errstr = "Database is busy";
lib/libc/yp/yplib.c
1145
errstr = NULL;
lib/libc/yp/yplib.c
1148
if (errstr != NULL)
lib/libc/yp/yplib.c
1149
strlcpy(err, errstr, sizeof(err));
lib/libc/yp/yplib.c
268
const char *errstr;
lib/libc/yp/yplib.c
272
errstr = "Success";
lib/libc/yp/yplib.c
275
errstr = "Internal ypbind error";
lib/libc/yp/yplib.c
278
errstr = "Domain not bound";
lib/libc/yp/yplib.c
281
errstr = "System resource allocation failure";
lib/libc/yp/yplib.c
284
errstr = NULL;
lib/libc/yp/yplib.c
287
if (errstr != NULL)
lib/libc/yp/yplib.c
288
strlcpy(err, errstr, sizeof(err));
lib/libdmsg/debug.c
117
const char *errstr;
lib/libdmsg/debug.c
147
errstr = "";
lib/libdmsg/debug.c
150
errstr = "err=IOQ:NOSYNC";
lib/libdmsg/debug.c
153
errstr = "err=IOQ:STREAMEOF";
lib/libdmsg/debug.c
156
errstr = "err=IOQ:SOCKERR";
lib/libdmsg/debug.c
159
errstr = "err=IOQ:BADFIELD";
lib/libdmsg/debug.c
162
errstr = "err=IOQ:BADHCRC";
lib/libdmsg/debug.c
165
errstr = "err=IOQ:BADXCRC";
lib/libdmsg/debug.c
168
errstr = "err=IOQ:BADACRC";
lib/libdmsg/debug.c
171
errstr = "err=IOQ:BADSTATE";
lib/libdmsg/debug.c
174
errstr = "err=IOQ:PEERCONFIG";
lib/libdmsg/debug.c
177
errstr = "err=IOQ:BADRKEY";
lib/libdmsg/debug.c
180
errstr = "err=IOQ:BADLKEY";
lib/libdmsg/debug.c
183
errstr = "err=IOQ:BADKEYXCHG";
lib/libdmsg/debug.c
186
errstr = "err=IOQ:BADFMT";
lib/libdmsg/debug.c
189
errstr = "err=IOQ:BADRANDOM";
lib/libdmsg/debug.c
192
errstr = "err=IOQ:BADSEQ";
lib/libdmsg/debug.c
195
errstr = "err=IOQ:DUPMSG";
lib/libdmsg/debug.c
198
errstr = "err=IOQ:BADTRANS";
lib/libdmsg/debug.c
201
errstr = "err=IOQ:IVWRAP";
lib/libdmsg/debug.c
204
errstr = "err=IOQ:MACFAIL";
lib/libdmsg/debug.c
207
errstr = "err=IOQ:ALGOFAIL";
lib/libdmsg/debug.c
210
errstr = "err=NOSUPPORT";
lib/libdmsg/debug.c
215
errstr = errbuf;
lib/libdmsg/debug.c
244
errstr,
lib/libkvm/kvm.c
276
const char *errstr)
lib/libkvm/kvm.c
281
if (errstr != NULL)
lib/libkvm/kvm.c
283
errstr, strerror(errno));
lib/libkvm/kvm.c
287
kd->program = errstr;
sbin/camcontrol/camcontrol.c
3117
const char errstr[] = "error sending format command";
sbin/camcontrol/camcontrol.c
3120
warn(errstr);
sbin/camcontrol/camcontrol.c
3122
warnx(errstr);
sbin/mount_nfs/mount_nfs.c
473
char *hostp, *delimp, *errstr;
sbin/mount_nfs/mount_nfs.c
538
ret = nfs_tryproto(nfsargsp, ai, hostp, spec, &errstr);
sbin/mount_nfs/mount_nfs.c
544
fprintf(stderr, "%s\n", errstr);
sbin/mount_nfs/mount_nfs.c
591
char *spec, char **errstr)
sbin/mount_nfs/mount_nfs.c
608
*errstr = errbuf;
usr.bin/col/col.c
125
const char *errstr;
usr.bin/col/col.c
144
(INT_MAX - BUFFER_MARGIN) / 2, &errstr) * 2;
usr.bin/col/col.c
145
if (errstr != NULL)
usr.bin/col/col.c
146
errx(1, "bad -l argument, %s: %s", errstr,
usr.bin/killall/killall.c
193
const char *errstr;
usr.bin/killall/killall.c
198
jailid = strtonum(*av, 1, INT_MAX, &errstr);
usr.bin/killall/killall.c
200
if (errstr)
usr.bin/killall/killall.c
201
errx(1, "jail id is %s: %s", errstr, *av);
usr.bin/m4/eval.c
181
const char *errstr;
usr.bin/m4/eval.c
184
base = strtonum(argv[3], 2, 36, &errstr);
usr.bin/m4/eval.c
185
if (errstr) {
usr.bin/m4/eval.c
190
maxdigits = strtonum(argv[4], 0, INT_MAX, &errstr);
usr.bin/m4/eval.c
191
if (errstr) {
usr.bin/m4/eval.c
843
const char *errstr;
usr.bin/m4/eval.c
844
n = strtonum(argv[ind], 1, INT_MAX, &errstr);
usr.bin/m4/eval.c
845
if (errstr) {
usr.bin/patch/pch.c
1644
const char *errstr;
usr.bin/patch/pch.c
1655
rv = strtonum(nptr, 0, LINENUM_MAX, &errstr);
usr.bin/patch/pch.c
1656
if (errstr != NULL)
usr.bin/patch/pch.c
1658
p_input_line, nptr, errstr);
usr.bin/perror/perror.c
43
char *errstr;
usr.bin/perror/perror.c
57
if ((errstr = strerror(errnum)) == NULL)
usr.bin/perror/perror.c
60
printf("%s\n", errstr);
usr.bin/sdiff/sdiff.c
214
const char *errstr, *outfile = NULL;
usr.bin/sdiff/sdiff.c
294
INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
295
if (errstr)
usr.bin/sdiff/sdiff.c
296
errx(2, "width is %s: %s", errstr, optarg);
usr.bin/sdiff/sdiff.c
304
tabsize = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
305
if (errstr)
usr.bin/sdiff/sdiff.c
306
errx(2, "tabsize is %s: %s", errstr, optarg);
usr.bin/sdiff/sdiff.c
717
const char *errstr;
usr.bin/sdiff/sdiff.c
730
file1start = strtonum(line, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
731
if (errstr)
usr.bin/sdiff/sdiff.c
732
errx(2, "file1 start is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
742
file1end = strtonum(q, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
743
if (errstr)
usr.bin/sdiff/sdiff.c
744
errx(2, "file1 end is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
761
file2start = strtonum(q, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
762
if (errstr)
usr.bin/sdiff/sdiff.c
763
errx(2, "file2 start is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
774
file2end = strtonum(p, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
775
if (errstr)
usr.bin/sdiff/sdiff.c
776
errx(2, "file2 end is %s: %s", errstr, line);
usr.bin/timeout/timeout.c
125
const char *errstr;
usr.bin/timeout/timeout.c
127
sig = strtonum(str, 1, sys_nsig - 1, &errstr);
usr.bin/timeout/timeout.c
128
if (errstr == NULL)
usr.bin/xargs/xargs.c
122
const char *errstr;
usr.bin/xargs/xargs.c
174
Lflag = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
175
if (errstr)
usr.bin/xargs/xargs.c
176
errx(1, "-L %s: %s", optarg, errstr);
usr.bin/xargs/xargs.c
180
nargs = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
181
if (errstr)
usr.bin/xargs/xargs.c
182
errx(1, "-n %s: %s", optarg, errstr);
usr.bin/xargs/xargs.c
188
maxprocs = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
189
if (errstr)
usr.bin/xargs/xargs.c
190
errx(1, "-P %s: %s", optarg, errstr);
usr.bin/xargs/xargs.c
215
nline = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
216
if (errstr)
usr.bin/xargs/xargs.c
217
errx(1, "-s %s: %s", optarg, errstr);
usr.sbin/autofs/log.c
125
errstr = strerror(log_errno);
usr.sbin/autofs/log.c
129
peer_addr, peer_name, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
131
peer_addr, peer_name, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
134
peer_addr, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
136
peer_addr, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
139
msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
141
msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
91
char *errstr;
usr.sbin/ftp-proxy/ftp-proxy.c
624
const char *errstr;
usr.sbin/ftp-proxy/ftp-proxy.c
664
&errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
665
if (errstr)
usr.sbin/ftp-proxy/ftp-proxy.c
666
errx(1, "loglevel %s", errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
672
max_sessions = strtonum(optarg, 1, 500, &errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
673
if (errstr)
usr.sbin/ftp-proxy/ftp-proxy.c
674
errx(1, "max sessions %s", errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
699
timeout = strtonum(optarg, 0, 86400, &errstr);
usr.sbin/ftp-proxy/ftp-proxy.c
700
if (errstr)
usr.sbin/ftp-proxy/ftp-proxy.c
701
errx(1, "timeout %s", errstr);
usr.sbin/newsyslog/newsyslog.c
2766
const char *errstr;
usr.sbin/newsyslog/newsyslog.c
2768
sig = strtonum(str, 1, sys_nsig - 1, &errstr);
usr.sbin/newsyslog/newsyslog.c
2770
if (errstr == NULL)
usr.sbin/pfctl/parse.y
2595
const char *errstr;
usr.sbin/pfctl/parse.y
2604
i = strtonum($2 + 5, 0, 255, &errstr);
usr.sbin/pfctl/parse.y
2605
if (errstr) {
usr.sbin/pfctl/parse.y
2606
yyerror("%s: %s", $2, errstr);
usr.sbin/pfctl/parse.y
5643
const char *errstr = NULL;
usr.sbin/pfctl/parse.y
5647
LLONG_MAX, &errstr);
usr.sbin/pfctl/parse.y
5648
if (errstr) {
usr.sbin/pfctl/parse.y
5650
buf, errstr);
usr.sbin/pfctl/pfctl.c
386
const char *errstr;
usr.sbin/pfctl/pfctl.c
394
prefix = strtonum(p, 0, 128, &errstr);
usr.sbin/pfctl/pfctl.c
395
if (errstr)
usr.sbin/pfctl/pfctl.c
396
errx(1, "prefix is %s: %s", errstr, p);
usr.sbin/pfctl/pfctl_table.c
258
const char *errstr;
usr.sbin/pfctl/pfctl_table.c
265
lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);
usr.sbin/pfctl/pfctl_table.c
266
if (errstr)
usr.sbin/pfctl/pfctl_table.c
267
errx(1, "expiry time: %s", errstr);
usr.sbin/pflogd/pflogd.c
598
const char *errstr = NULL;
usr.sbin/pflogd/pflogd.c
615
delay = strtonum(optarg, 5, 60*60, &errstr);
usr.sbin/pflogd/pflogd.c
616
if (errstr)
usr.sbin/pflogd/pflogd.c
630
&errstr);
usr.sbin/pflogd/pflogd.c
633
if (errstr)
usr.sbin/ppp/chap.c
598
if (*bundle->radius.cfg.file && bundle->radius.errstr)
usr.sbin/ppp/chap.c
599
msg = bundle->radius.errstr;
usr.sbin/ppp/radius.c
1047
prompt_Printf(p, " Error Message: %s\n", r->errstr ? r->errstr : "");
usr.sbin/ppp/radius.c
418
free(r->errstr);
usr.sbin/ppp/radius.c
420
r->errstr = NULL;
usr.sbin/ppp/radius.c
432
if ((r->errstr = rad_cvt_string((const char *)data,
usr.sbin/ppp/radius.c
440
log_Printf(LogPHASE, " MS-CHAP-Error \"%s\"\n", r->errstr);
usr.sbin/ppp/radius.c
631
r->errstr = NULL;
usr.sbin/ppp/radius.c
658
free(r->errstr);
usr.sbin/ppp/radius.c
659
r->errstr = NULL;
usr.sbin/ppp/radius.h
54
char *errstr; /* Error-Message */
usr.sbin/sensorsd/sensorsd.c
111
const char *errstr;
usr.sbin/sensorsd/sensorsd.c
116
check_period = strtonum(optarg, 1, 600, &errstr);
usr.sbin/sensorsd/sensorsd.c
117
if (errstr)
usr.sbin/sensorsd/sensorsd.c
118
errx(1, "check %s", errstr);
usr.sbin/watchdogd/watchdogd.c
59
const char *errstr;
usr.sbin/watchdogd/watchdogd.c
72
&errstr);
usr.sbin/watchdogd/watchdogd.c
73
if (errstr)
usr.sbin/watchdogd/watchdogd.c
74
errx(1, "interval is %s: %s", errstr, optarg);
usr.sbin/watchdogd/watchdogd.c
80
period = (u_int)strtonum(optarg, 2LL, 86400LL, &errstr);
usr.sbin/watchdogd/watchdogd.c
81
if (errstr)
usr.sbin/watchdogd/watchdogd.c
82
errx(1, "period is %s: %s", errstr, optarg);
usr.sbin/ypserv/yp_main.c
243
char *errstr;
usr.sbin/ypserv/yp_main.c
259
(const char **)&errstr);
usr.sbin/ypserv/yp_main.c
260
if (yp_port == 0 && errstr != NULL) {
usr.sbin/ypserv/yp_main.c
314
if ((asprintf(&errstr, "cannot create a %s socket",
usr.sbin/ypserv/yp_main.c
317
_msgout(errstr);
usr.sbin/ypserv/yp_main.c
318
free((void *)errstr);
usr.sbin/ypserv/yp_main.c
323
if ((asprintf(&errstr, "cannot bind %s socket",
usr.sbin/ypserv/yp_main.c
326
_msgout(errstr);
usr.sbin/ypserv/yp_main.c
327
free((void *)errstr);
usr.sbin/ypserv/yp_main.c
330
errstr = NULL;