+#define man_perr(m, l, p, t) \
+ man_err((m), (l), (p), 1, (t))
+#define man_pwarn(m, l, p, t) \
+ man_err((m), (l), (p), 0, (t))
+#define man_nerr(m, n, t) \
+ man_err((m), (n)->line, (n)->pos, 1, (t))
+#define man_nwarn(m, n, t) \
+ man_err((m), (n)->line, (n)->pos, 0, (t))
+
+int man_err(struct man *, int, int, int, enum merr);