Lines Matching refs:manpath
88 char *manpath; /* -M: alternate MANPATH */
89 char *addpath; /* -m: add these dirs to front of manpath */
96 TAG *defaultpath; /* _default: default MANPATH */
104 TAG *mymanpath; /* _new_path: final version of MANPATH */
173 if ((m.manpath = strdup(optarg)) == NULL)
213 * without '-s'], and MANPATH through the environment).
255 if (m.manpath == NULL)
256 m.manpath = getenv("MANPATH"); /* note: -M overrides getenv */
289 * manpath we are going to use to find the requested entries using
294 * defaultpath and -M/MANPATH with the section's absolute paths.
297 m.manpath = NULL; /* ignore -M/MANPATH */
315 * if the user gave us a path (m.manpath) use it, otherwise
332 if (m.manpath) {
334 /* note: strtok is going to destroy m.manpath */
335 for (p = strtok(m.manpath, ":") ; p ; p = strtok(NULL, ":")) {
1070 errx(EXIT_FAILURE, "Empty manpath");