Lines Matching defs:man
40 #include "man.h"
59 struct man *pman; /* persistent man parser */
61 struct man *man; /* man parser */
230 * passed in by command-line (-man, -mdoc), then use that
233 * default to -man, which is more lenient.
235 * Separate out pmdoc/pman from mdoc/man: the first persists
258 curp->man = curp->pman;
275 curp->man = curp->pman;
496 if ( ! (curp->man || curp->mdoc))
514 rc = curp->man ?
515 man_addspan(curp->man, span) :
524 man_addeqn(curp->man,
526 else if (curp->man || curp->mdoc)
527 rc = curp->man ?
528 man_parseln(curp->man,
631 if (curp->man && ! man_endparse(curp->man)) {
636 if ( ! (curp->man || curp->mdoc)) {
748 if (curp->man)
749 man_reset(curp->man);
755 curp->man = NULL;
776 mparse_result(struct mparse *curp, struct mdoc **mdoc, struct man **man)
781 if (man)
782 *man = curp->man;