xprintf
n = xprintf("%s%c", protoname, af == AF_INET ? '4' : '6');
n = xprintf("%s", protoname);
xprintf("%*s", width - n, "");
xprintf("%.*s", n, sun->sun_path);
xprintf("%*s", width - n, "");
n = xprintf("%s:*", addrstr);
n = xprintf("%s:%d", addrstr, port);
xprintf("%*s", width - n, "");
xprintf("%-8.8s ", pwd->pw_name);
xprintf("%-8lu ", (u_long)xf->f_uid);
xprintf("%-10.10s ", getprocname(xf->f_pid));
xprintf("%6lu ", (u_long)xf->f_pid);
xprintf("%5d ", xf->f_fd);
xprintf(" ");
xprintf(" ");
xprintf("(not connected)");
xprintf("-> ");
xprintf("??");
xprintf("\n");
xprintf(const char *fmt, ...)
xprintf(opts, "%d tables deleted", ndel);
xprintf(opts, "%d table deleted", ndel);
xprintf(opts, "%d addresses deleted", ndel);
xprintf(opts, "%d/%d addresses added", nadd, b.pfrb_size);
xprintf(opts, "%d/%d addresses deleted", ndel, b.pfrb_size);
xprintf(opts, "%d addresses added", nadd);
xprintf(opts, "%d addresses deleted", ndel);
xprintf(opts, "%d addresses changed", nchange);
xprintf(opts, "no changes");
xprintf(opts, "%d/%d addresses expired", ndel, b2.pfrb_size);
xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size);
xprintf(opts, "%d table/stats cleared", nzero);
static void xprintf(int, const char *, ...) __printflike(2, 3);
xprintf(opts, "%d table created", nadd); \