/netbsd-src/external/bsd/mdocml/dist/ |
H A D | cgi.c | 51 char *manpath; /* desired manual directory */ member 206 req->q.manpath = NULL; in parse_query_string() 250 set_query_attr(&req->q.manpath, &val); in parse_query_string() 468 if (strcmp(req->q.manpath, req->p[i]) == 0) in resp_searchform() 496 validate_manpath(const struct req *req, const char* manpath) in validate_manpath() argument 501 if ( ! strcmp(manpath, req->p[i])) in validate_manpath() 588 if (strcmp(req->q.manpath, req->p[0])) in pg_redirect() 589 printf("%s/", req->q.manpath); in pg_redirect() 613 r[i].file, req->q.manpath); in pg_searchres() 627 if (strcmp(req->q.manpath, req->p[0])) in pg_searchres() [all …]
|
H A D | manpath.c | 47 manpath_parseline(&conf->manpath, auxp, 1); in manconf_parse() 51 manpath_parseline(&conf->manpath, defp, 1); in manconf_parse() 69 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 75 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 84 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 86 manpath_parseline(&conf->manpath, insert + 1, 0); in manconf_parse() 91 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 155 for (i = 0; i < conf->manpath.sz; i++) in manconf_free() 156 free(conf->manpath.paths[i]); in manconf_free() 158 free(conf->manpath.paths); in manconf_free() [all …]
|
H A D | mandocdb.c | 473 conf.manpath.paths = mandoc_reallocarray(NULL, in mandocdb() 475 conf.manpath.sz = (size_t)argc; in mandocdb() 477 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb() 481 if (conf.manpath.sz == 0) { in mandocdb() 492 for (j = 0; j < conf.manpath.sz; j++) { in mandocdb() 493 sz = strlen(conf.manpath.paths[j]); in mandocdb() 494 if (sz && conf.manpath.paths[j][sz - 1] == '/') in mandocdb() 495 conf.manpath.paths[j][--sz] = '\0'; in mandocdb() 506 if ( ! set_basedir(conf.manpath.paths[j], argc > 0)) in mandocdb() 516 if (j + 1 < conf.manpath.sz) { in mandocdb()
|
H A D | manconf.h | 45 struct manpaths manpath; member
|
H A D | main.c | 393 if ( ! mansearch(&search, &conf.manpath, in main() 398 fs_search(&search, &conf.manpath, in main() 523 (void)chdir(conf.manpath.paths[resp->ipath]); in main()
|
H A D | Makefile.depend | 49 manpath.o: manpath.c config.h mandoc_aux.h manconf.h
|
H A D | Makefile | 105 manpath.c \ 301 manpath.o \
|
H A D | NEWS | 275 * Drop support for manpath(1). Even if your system has manpath(1), 279 than to bother with the complexity of manpath(1). 422 * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that 423 apropos(1) and man.cgi(8) are installed in the default manpath. 651 * Autodetect wchar, sqlite3, and manpath support.
|
/netbsd-src/libexec/makewhatis/ |
H A D | makewhatis.c | 108 static int makewhatis(char * const *manpath); 127 char * const *manpath; in main() local 166 manpath = &argv[0]; in main() 169 return makewhatis(manpath); in main() 178 manpath = default_manpath; in main() 244 makewhatis(char * const * manpath) in makewhatis() argument 255 if ((fts = fts_open(manpath, FTS_LOGICAL, NULL)) == NULL) in makewhatis() 256 err(EXIT_FAILURE, "Cannot open `%s'", *manpath); in makewhatis() 333 if (chdir(manpath[0]) == -1) in makewhatis() 334 err(EXIT_FAILURE, "Cannot change dir to `%s'", manpath[0]); in makewhatis()
|
/netbsd-src/usr.bin/man/ |
H A D | man.c | 87 char *manpath; /* -M: alternate MANPATH */ member 169 if ((m.manpath = strdup(optarg)) == NULL) in main() 251 if (m.manpath == NULL) in main() 252 m.manpath = getenv("MANPATH"); /* note: -M overrides getenv */ in main() 293 m.manpath = NULL; /* ignore -M/MANPATH */ in main() 328 if (m.manpath) { in main() 331 for (p = strtok(m.manpath, ":") ; p ; p = strtok(NULL, ":")) { in main()
|
/netbsd-src/external/bsd/mdocml/bin/mandoc/ |
H A D | Makefile | 21 manpath.c \
|
/netbsd-src/external/gpl2/groff/dist/contrib/groffer/ |
H A D | groffer2.sh | 432 _OPTS_MAN_LONG_ARG="'locale' 'manpath' \ 4313 -M|--manpath) 4583 --manpath) # specify search path for man pages, arg
|
H A D | ChangeLog | 945 - man_setup(): due to bugs in `manpath', prefer 1397 - Force the option `--manpath' to have a colon-separated
|
/netbsd-src/external/bsd/file/dist/magic/magdir/ |
H A D | archive | 11 # Reference: https://www.freebsd.org/cgi/man.cgi?query=tar&sektion=5&manpath=FreeBSD+8-current
|