Lines Matching defs:man
39 #include "man.h"
46 #define MAN 1 //If the page is of man(7) type
66 char *name; // for storing the name of the man page
92 int page_type; //Indicates the type of page: mdoc or man
100 static void set_section(const struct mdoc *, const struct man *, mandb_rec *);
366 easprintf(&command, "man -p -C %s", arg);
369 command = estrdup("man -p");
372 /* Call man -p to get the list of man page dirs */
410 /* Traverse the man page directories and parse the pages */
446 * Traverses the given directory recursively and passes all the man page files
819 * parses the man page using libmandoc
826 struct man *man;
841 mparse_result(mp, &mdoc, &man);
842 if (mdoc == NULL && man == NULL) {
844 warnx("Not a man(7) or mdoc(7) page");
849 set_section(mdoc, man, rec);
855 pman_node(man_node(man), rec);
865 set_section(const struct mdoc *md, const struct man *m, mandb_rec *rec)
934 * Extracts the one line description of the man page from the .Nd macro
991 /* Parse the man page references.
1375 * man_parse_section to parse a particular section of the man page.
1448 * Inserts the parsed data of the man page in the Sqlite databse.
1487 * parse the comma separated list of names of man pages,