Lines Matching defs:manpname
1195 char manpname[MAXPATHLEN], catpname[MAXPATHLEN];
1207 (void) snprintf(manpname, sizeof (manpname), "%s/man%s/%s", path,
1213 if (stat(manpname, &sbman) != 0 && (psoutput|lintout))
1217 * If both manpage and catpage do not exist, manpname is
1220 if (stat(catpname, &sbcat) != 0 && stat(manpname, &sbman) != 0)
1221 err(1, "%s", manpname);
1224 if (fnmatch("*.gz", manpname, 0) == 0)
1226 else if (fnmatch("*.bz2", manpname, 0) == 0)
1234 path, cattool, manpname);
1235 DPRINTF("-- Using manpage: %s\n", manpname);
1240 path, cattool, manpname);
1241 DPRINTF("-- Linting manpage: %s\n", manpname);
1250 if (stat(manpname, &sbman) != 0 || (manwidth == 0 &&
1257 DPRINTF("-- Using manpage: %s\n", manpname);
1261 path, cattool, manpname, (manwidth > 0) ? tmpbuf : "", pager);