Searched refs:errstr (Results 76 - 100 of 126) sorted by relevance

123456

/freebsd-current/usr.bin/top/
H A Dtop.c367 const char *errstr; local
369 num = strtonum(optarg, 0, INT_MAX, &errstr);
370 if (errstr != NULL || !find_pid(num)) {
1149 const char *errstr; local
1152 &errstr);
1153 if (errstr != NULL || !find_pid(num)) {
/freebsd-current/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dioctl.c50 char errstr[1024]; local
54 (void) vsnprintf(errstr, sizeof (errstr), fmt, v);
57 PyErr_SetObject(ZFSError, Py_BuildValue("is", errno, errstr));
/freebsd-current/secure/usr.bin/openssl/
H A DMakefile18 SRCS+= dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c errstr.c
H A DMakefile.man18 MAN+= openssl-errstr.1
/freebsd-current/usr.bin/col/
H A Dcol.c125 const char *errstr; local
150 (INT_MAX - BUFFER_MARGIN) / 2, &errstr) * 2;
151 if (errstr != NULL)
152 errx(1, "bad -l argument, %s: %s", errstr,
/freebsd-current/lib/libkvm/
H A Dkvm.c242 const char *errstr)
247 if (errstr != NULL)
249 errstr, strerror(errno));
252 kd->program = errstr;
241 kvm_open(const char *uf, const char *mf, const char *sf __unused, int flag, const char *errstr) argument
/freebsd-current/contrib/libpcap/
H A Dpcap-bpf.c1380 char *errstr; local
1383 if (odm_err_msg(odmerrno, &errstr) == -1)
1384 errstr = "Unknown error";
1387 errstr);
1392 if (odm_err_msg(odmerrno, &errstr) == -1)
1393 errstr = "Unknown error";
1396 errstr);
1407 char *errstr; local
1411 if (odm_err_msg(odmerrno, &errstr) == -1)
1412 errstr
[all...]
/freebsd-current/contrib/pf/pflogd/
H A Dpflogd.c646 const char *errstr = NULL; local
659 delay = strtonum(optarg, 5, 60*60, &errstr);
660 if (errstr)
674 &errstr);
677 if (errstr)
/freebsd-current/crypto/openssh/
H A Dmisc.c232 const char *errstr;
237 rtable = (int)strtonum(name, 0, 255, &errstr);
238 if (errstr != NULL) {
240 error("Invalid routing domain \"%s\": %s", name, errstr);
519 const char *errstr; local
521 port = strtonum(s, 0, 65535, &errstr);
522 if (errstr == NULL)
532 const char *errstr = NULL; local
553 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
554 if (errstr !
2351 valid_domain(char *name, int makelower, const char **errstr) argument
2416 const char *errstr = NULL; local
[all...]
H A Dssh-keygen.c2975 const char *errstr; local
2981 UINT_MAX, &errstr);
2982 if (errstr) {
2984 errstr, opts[i]+7);
2992 INT_MAX, &errstr);
2993 if (errstr) {
2995 opts[i]+12, errstr);
3029 const char *errstr; local
3042 opts[i]+10, 1, UINT_MAX, &errstr);
3043 if (errstr !
3363 const char *errstr; local
[all...]
H A Dscp.c474 const char *errstr; local
561 &errstr);
562 if (errstr != NULL)
605 &errstr);
606 if (errstr != NULL) {
608 "\"%s\": %s", optarg + 10, errstr);
H A Dsftp.c2441 const char *errstr; local
2543 &errstr);
2544 if (errstr != NULL)
2579 &errstr);
2580 if (errstr != NULL) {
2582 "\"%s\": %s", optarg + 10, errstr);
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_jupiter.c803 static char errstr[132]; local
816 msnprintf(errstr, sizeof(errstr), "write: %m");
817 return (errstr);
819 snprintf(errstr, sizeof(errstr), "short write (%zd != %u)", cc, size);
820 return (errstr);
/freebsd-current/usr.sbin/ppp/
H A Dradius.c535 free(r->errstr);
537 r->errstr = NULL;
549 if ((r->errstr = rad_cvt_string((const char *)data,
558 " MS-CHAP-Error \"%s\"\n", r->errstr);
780 r->errstr = NULL;
814 free(r->errstr);
815 r->errstr = NULL;
1320 prompt_Printf(p, " Error Message: %s\n", r->errstr ? r->errstr : "");
/freebsd-current/sbin/ipfw/
H A Dmain.c109 const char *errstr; local
426 &errstr);
427 if (errstr)
/freebsd-current/sbin/pfctl/
H A Dpfctl_table.c259 const char *errstr; local
266 lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);
267 if (errstr)
268 errx(1, "expiry time: %s", errstr);
/freebsd-current/bin/ls/
H A Dls.c224 const char *errstr = NULL; local
237 termwidth = strtonum(p, 0, INT_MAX, &errstr);
247 termwidth = strtonum(p, 0, INT_MAX, &errstr);
250 if (errstr)
/freebsd-current/sbin/mount_nfs/
H A Dmount_nfs.c137 char **errstr, struct iovec **iov, int *iovlen);
579 char *hostp, *delimp, *errstr, *spec; local
685 ret = nfs_tryproto(ai, hostp, spec, &errstr, iov,
692 fprintf(stderr, "%s\n", errstr);
740 * In all error cases, *errstr will be set to a statically-allocated string
744 nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, argument
763 *errstr = errbuf;
/freebsd-current/sbin/geom/core/
H A Dgeom.c461 const char *errstr; local
495 errstr = req->error;
499 errstr = gctl_issue(req);
501 if (errstr != NULL && errstr[0] != '\0') {
502 warnx("%s", errstr);
504 if (strncmp(errstr, "warning: ", strlen("warning: ")) == 0)
/freebsd-current/usr.sbin/ypldap/
H A Dldapclient.c509 const char *errstr; local
519 aldap_get_errno(al, &errstr);
520 log_debug("%s", errstr);
H A Dypldap.c185 const char *errstr = NULL; local
203 pw_gid = (gid_t)strtonum(bp, 0, GID_MAX, &errstr);
204 if (errstr) {
/freebsd-current/usr.sbin/inetd/
H A Dbuiltins.c650 const char *errstr; local
653 uid = strtonum(p, 0, UID_MAX, &errstr);
654 if (errstr != NULL)
/freebsd-current/crypto/openssl/engines/
H A De_capi.c960 char errstr[10]; local
961 BIO_snprintf(errstr, 10, "%d", padding);
963 ERR_add_error_data(2, "padding=", errstr);
1114 char errstr[10]; local
1115 BIO_snprintf(errstr, 10, "%lX", err);
1116 ERR_add_error_data(2, "Error code= 0x", errstr);
/freebsd-current/usr.bin/grep/
H A Dutil.c299 fn = label != NULL ? label : errstr[1];
399 printf(errstr[7], fn);
/freebsd-current/usr.bin/patch/
H A Dpch.c1642 const char *errstr; local
1653 rv = strtonum(nptr, 0, LINENUM_MAX, &errstr);
1654 if (errstr != NULL)
1656 p_input_line, nptr, errstr);

Completed in 431 milliseconds

123456