Home | History | Annotate | Download | only in man

Lines Matching defs:addpath

89 	char *addpath;		/* -m: add these dirs to front of manpath */
126 static void addpath(struct manstate *, const char *, size_t, const char *,
169 m.addpath = optarg;
340 addpath(&m, p, len, esubd->s, INS_TAIL);
348 addpath(&m, "", 1, epath->s, INS_TAIL);
353 addpath(&m, epath->s, epath->len, esubd->s, INS_TAIL);
359 * [4] finally, prepend the "-m" m.addpath to mymanpath if it
361 * m.addpath.
363 if (m.addpath) {
365 /* note: strtok is going to destroy m.addpath */
366 for (p = strtok(m.addpath, ":") ; p ; p = strtok(NULL, ":")) {
371 addpath(&m, p, len, esubd->s, INS_HEAD); /* Add to front */
1026 addpath(struct manstate *m, const char *dir, size_t len, const char *sub,