Searched refs:err (Results 1 - 25 of 30) sorted by relevance

12

/sendmail/libsm/
H A Dstrerror.c40 ** err -- error number.
47 strerror(err)
48 int err;
52 if (err >= 0 && err < sys_nerr)
53 return (char *) sys_errlist[err];
56 (void) sm_snprintf(buf, sizeof(buf), "Error %d", err);
H A Dt-cf.c26 int err; local
35 err = sm_cf_getopt(argv[1], 1, &opt);
36 if (err)
38 fprintf(stderr, "%s: %s\n", argv[1], strerror(err));
H A Dvasprintf.c84 goto err;
90 goto err;
94 err:
H A Dfvwrite.c99 goto err; /* errno set */
149 goto err; /* errno set */
174 goto err; /* errno set */
185 goto err; /* errno set */
205 goto err; /* errno set */
237 goto err; /* errno set */
247 goto err; /* errno set */
265 goto err; /* errno set */
275 err:
H A Dsem.c42 int semid, i, err; local
72 err = errno;
77 return (err > 0) ? (0 - err) : -1;
H A Dmpeix.c266 int err; local
295 err = EINVAL;
307 err = errno;
310 errno = err;
H A Drefill.c255 goto err; /* errno set */
262 err:
H A Dmbdb.c95 int err; local
117 err = EX_OK;
119 err = t->mbdb_initialize(arg);
120 if (err == EX_OK)
122 return err;
H A Dexc.c159 int err = exc->exc_argv[0].v_int; local
165 sysargs, syscall, sm_errstring(err));
168 sm_errstring(err));
197 "E:sm.err",
H A Dldap.c178 int err;
182 err = ldap_url_parse(lmap->ldap_uri, &ludp);
183 if (err != 0)
185 errno = err + E_LDAPURLBASE;
1432 int err = LDAP_SUCCESS; local
1435 (void) ldap_get_option(ld, LDAP_OPT_ERROR_NUMBER, &err);
1438 err = ldap_get_lderrno(ld, NULL, NULL);
1440 err = ld->ld_errno;
1450 return err;
H A Dvfprintf.c63 register int err; local
70 err = sm_fvwrite(fp, timeout, uio);
73 return err;
/sendmail/devtools/bin/
H A Dfind_m4.sh34 err="`(echo "$test" | $M4) 2>&1 >/dev/null`"
46 err="`(echo "$test" | $dir/$m4) 2>&1 >/dev/null`"
48 if [ $ret -eq 0 -a "X$err" = "X" ]
54 case "$firstfound:$err" in
57 firsterr="$err"
72 err="$firsterr"
82 echo "ERROR: Using M4=$M4: $err" | grep -v NoSuchFile >&2
84 elif [ "X$err" != "X" ]
86 echo "WARNING: $err" >&2
/sendmail/libmilter/
H A Dsm_gethost.c46 sm_getipnodebyname(name, family, flags, err)
50 int *err;
73 *err = NO_DATA;
76 *err = h_errno;
121 int err; local
128 h = sm_getipnodebyname(name, family, flags, &err);
129 SM_SET_H_ERRNO(err);
H A Dworker.c525 goto err;
611 err:
/sendmail/rmail/
H A Drmail.c44 * The err(3) routine is included here deliberately to make this code
68 static void err __P((int, const char *, ...));
86 err(EX_TEMPFAIL, "out of memory");
138 err(EX_DATAERR, "no data");
140 err(EX_DATAERR, "line too long");
149 err(EX_DATAERR,
158 err(EX_DATAERR, "corrupted From line: %s", lbuf);
184 err(EX_DATAERR, "bang starts address: %s",
192 err(EX_DATAERR,
229 err(EX_TEMPFAI
414 err(int eval, const char *fmt, ...) function
[all...]
/sendmail/sendmail/
H A Dsfsasl.c418 # include <openssl/err.h>
567 ** err -- SSL error
577 tls_retry(ssl, rfd, wfd, tlsstart, timeout, err, where)
583 int err;
617 "STARTTLS=%s, info: fds=%d/%d, err=%d",
618 where, rfd, wfd, err);
622 ((err == SSL_ERROR_WANT_READ && rfd >= FD_SETSIZE) ||
623 (err == SSL_ERROR_WANT_WRITE && wfd >= FD_SETSIZE)))
635 else if (err == SSL_ERROR_WANT_READ)
653 else if (err
725 char *err; local
854 char *err; local
[all...]
H A Dalias.c925 int err; local
940 err = include(buf, true, user, sendq, aliaslevel, e);
941 if (err == 0)
943 else if (transienterror(err))
957 buf, sm_errstring(err));
964 switch (err)
987 syserr("forward: %s: %s", buf, sm_errstring(err));
995 sm_errstring(err));
998 buf, sm_errstring(err));
H A Derr.c16 SM_RCSID("@(#)$Id: err.c,v 8.206 2013-11-22 20:51:55 ca Exp $")
984 char *err; local
1005 err = strerror(errnum);
1006 if (err == NULL)
1010 err = errbuf;
1012 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp));
1146 err = strerror(errnum);
1147 if (err == NULL)
1152 return err;
H A Dtls.c16 # include <openssl/err.h>
297 unsigned long err; local
299 err = ERR_get_error();
303 ERR_error_string(err, NULL));
990 unsigned long err; local
992 err = ERR_get_error();
996 ERR_error_string(err, NULL));
1040 unsigned long err; local
1042 err = ERR_get_error();
1046 ERR_error_string(err, NUL
[all...]
H A Dconf.c3420 ** err -- the errno code to classify.
3428 transienterror(err)
3429 int err;
3431 switch (err)
4225 sm_getipnodebyname(name, family, flags, err)
4229 int *err;
4236 *err = h_errno;
4260 *err = NO_DATA;
4263 *err = h_errno;
4269 sm_getipnodebyaddr(addr, len, family, err)
4330 int err; local
4494 int err; local
[all...]
H A Dqueue.c1951 const char *err = sm_errstring(errno); local
1954 message("458 %s: %s\n", msg, err);
1957 msg, err);
3948 char *err; local
4190 err = "bogus queue line";
4243 err = "bogus queue file directory";
4258 err = "bogus queue line";
4469 err = "unsupported queue file version";
4524 err = "unrecognized line";
4605 ** There was some error reading the qf file (reason is in err va
6815 int err = errno; local
[all...]
/sendmail/contrib/
H A Dbitdomain.c141 char *otherdomain, *p, *err; local
176 err = "not registered in DNS";
180 err = "temporary DNS lookup failure";
184 err = "non-recoverable nameserver error";
188 err = "registered in DNS, but not mailable";
192 err = "unknown nameserver error";
196 fprintf(stderr, "%-8s %s %s\n", node, domain, err);
/sendmail/vacation/
H A Dvacation.c331 int err; local
339 err = sm_mbdb_initialize(mbdbname.opt_val);
340 if (err != EX_OK)
344 sm_strexit(err));
345 EXITM(err);
348 err = sm_mbdb_lookup(*argv, &user);
349 if (err == EX_NOUSER)
354 if (err != EX_OK)
358 sm_strexit(err));
359 EXITM(err);
[all...]
/sendmail/mail.local/
H A Dmail.local.c209 int err; local
356 err = sm_mbdb_initialize(mbdbname);
357 if (err != EX_OK)
361 if (err == EX_TEMPFAIL)
365 mbdbname, sm_strexit(err));
366 sm_exit(err);
548 char *err; local
717 err = process_recipient(rcpt_addr[rcpt_num]);
718 if (err != NULL)
720 mailerr(NULL, "%s", err);
[all...]
/sendmail/include/sm/
H A Dconf.h1924 # define SM_SET_H_ERRNO(err) set_h_errno((err))
2938 # define SM_SET_H_ERRNO(err) h_errno = (err)

Completed in 1662 milliseconds

12