SPACELEFT
(void) sm_snprintf(fp, SPACELEFT(filter, fp),
(void) sm_snprintf(fp, SPACELEFT(filter, fp),
while (SPACELEFT(filter, fp) > 0 &&
SPACELEFT(filter, fp));
(void) sm_snprintf(fp, SPACELEFT(filter, fp),
(void) sm_strlcpy(fp, p, SPACELEFT(filter, fp));
SPACELEFT(line, p)) == NULL)
(void) sm_strlcpy(p, "sendmail: ", SPACELEFT(buf, p));
(void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
(void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy);
(void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d",
(void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk,
(void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy,
(void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr,
(void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi,
(void) sm_snprintf(p, SPACELEFT(buf, p), ", %d second%s", se,
(void) sm_snprintf(p, SPACELEFT(hbuf, p),
SPACELEFT(hbuf, p),
(void) sm_snprintf(p, SPACELEFT(hbuf, p), "]");
(void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]",
(void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p));
for (l = sizeof(sap->sa.sa_data); --l >= 0 && SPACELEFT(buf, bp) > 3; )
(void) sm_snprintf(bp, SPACELEFT(buf, bp), "%02x:",
(void) sm_strlcpy(bp, exmsg + 1, SPACELEFT(buf, bp));
SPACELEFT(buf, bp),
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ": ",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", ctladdr=",
(void) sm_snprintf(bp, SPACELEFT(buf, bp), " (%d/%d)",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", delay=",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", xdelay=",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", mailer=",
(void) sm_snprintf(bp, SPACELEFT(buf, bp), ", pri=%ld",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", relay=",
(void) sm_snprintf(bp, SPACELEFT(buf, bp), " [%s]",
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", dsn=",
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_strlcpy(bp, "...", SPACELEFT(buf, bp));
(void) sm_strlcpy(bp, ", stat=", SPACELEFT(buf, bp));
SPACELEFT(buf, bp));
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, "ctladdr=",
(void) sm_snprintf(bp, SPACELEFT(buf, bp), " (%d/%d)",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, "delay=",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", xdelay=",
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", mailer=",
(void) sm_snprintf(bp, SPACELEFT(buf, bp), "relay=%.100s",
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_strlcpy(bp, err, SPACELEFT(buf, bp));
SPACELEFT(buf, bp));
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
SPACELEFT(buf, bp));
(void) sm_snprintf(bp, SPACELEFT(buf, bp),
(void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2,
(void) sm_strlcpy(bp, dnsmsg, SPACELEFT(buf, bp));
(void) sm_snprintf(p, SPACELEFT(hbuf, p),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
(void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
if (SPACELEFT(obuf, obp) - 1 < (size_t) l)
l = SPACELEFT(obuf, obp) - 1;
(void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.*s", l, v);
(void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.*s",
(int) (SPACELEFT(obuf, obp) - 1), v);
(void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.200s:", h->h_field);
(void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%*s", spaces,
(void) sm_strlcpy(obp, ",\n", SPACELEFT(obuf, obp));
(void) sm_strlcpy(obp, ", ", SPACELEFT(obuf, obp));
(void) sm_vsnprintf(p, SPACELEFT(buf, p), msg, ap);
(void) sm_snprintf(p, SPACELEFT(buf, p), "MCI@%p: ", mci);
(void) sm_snprintf(p, SPACELEFT(buf, p), "NULL");
(void) sm_snprintf(p, SPACELEFT(buf, p), "flags=%lx", mci->mci_flags);
(void) sm_strlcpyn(p, SPACELEFT(buf, p), 2,
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(lbuf, p),
(void) sm_snprintf(p, SPACELEFT(lbuf, p),
SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7)
(void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7)
(void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
SPACELEFT(optbuf, bufp) > 9)
(void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
SPACELEFT(optbuf, bufp) > strlen(e->e_auth_param) + 7
(void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
IS_DLVR_BY(e) && SPACELEFT(optbuf, bufp) > 17)
(void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
SPACELEFT(optbuf, bufp) > strlen(to->q_orcpt) + 7)
(void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
SPACELEFT(wbuf, p),
(void) sm_snprintf(p, SPACELEFT(wbuf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p), "%3d: ", fd);
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p), "CLOSED");
(void) sm_snprintf(p, SPACELEFT(buf, p), "fl=0x%x, ", i);
(void) sm_snprintf(p, SPACELEFT(buf, p), "mode=%o: ",
(void) sm_snprintf(p, SPACELEFT(buf, p), "SOCK ");
(void) sm_snprintf(p, SPACELEFT(buf, p), "(%s)",
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p), "->");
(void) sm_snprintf(p, SPACELEFT(buf, p), "(%s)",
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p), "CHR: ");
(void) sm_snprintf(p, SPACELEFT(buf, p), "BLK: ");
(void) sm_snprintf(p, SPACELEFT(buf, p), "FIFO: ");
(void) sm_snprintf(p, SPACELEFT(buf, p), "DIR: ");
(void) sm_snprintf(p, SPACELEFT(buf, p), "LNK: ");
(void) sm_snprintf(p, SPACELEFT(buf, p),
(void) sm_snprintf(p, SPACELEFT(buf, p), "size=%llu",