| /src/external/bsd/mdocml/dist/ |
| manconf.h | 51 struct manpaths manpath; member in struct:manconf
|
| cgi.c | 53 char *manpath; /* desired manual directory */ member in struct:query 211 req->q.manpath = NULL; 247 else if ( ! strcmp(key, "manpath")) { 255 set_query_attr(&req->q.manpath, &val); 486 /* Write manpath selector. */ 489 puts(" <select name=\"manpath\">"); 492 if (strcmp(req->q.manpath, req->p[i]) == 0) 520 validate_manpath(const struct req *req, const char* manpath) 525 if ( ! strcmp(manpath, req->p[i])) 613 if (strcmp(req->q.manpath, req->p[0]) 931 char *manpath; local [all...] |
| /src/libexec/makewhatis/ |
| makewhatis.c | 108 static int makewhatis(char * const *manpath); 127 char * const *manpath; local 157 fprintf(stderr, "Usage: %s [-fw] [-C file] [manpath ...]\n", 166 manpath = &argv[0]; 169 return makewhatis(manpath); 178 manpath = default_manpath; 244 makewhatis(char * const * manpath) 255 if ((fts = fts_open(manpath, FTS_LOGICAL, NULL)) == NULL) 256 err(EXIT_FAILURE, "Cannot open `%s'", *manpath); 333 if (chdir(manpath[0]) == -1 [all...] |
| /src/usr.bin/man/ |
| man.c | 88 char *manpath; /* -M: alternate MANPATH */ member in struct:manstate 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 * [all...] |