| /freebsd-14.2/contrib/mandoc/ |
| H A D | cgi.c | 211 req->q.manpath = NULL; in parse_query_string() 931 char *manpath; in pg_show() local 945 free(manpath); in pg_show() 955 if (chdir(manpath) == -1) { in pg_show() 958 free(manpath); in pg_show() 961 free(manpath); in pg_show() 1127 if (req.q.manpath == NULL) in main() 1150 free(req.q.manpath); in main() 1170 req->q.manpath = NULL; in parse_path_info() 1201 free(req->q.manpath); in parse_path_info() [all …]
|
| H A D | manpath.c | 46 manpath_parseline(&conf->manpath, auxp, 'm'); in manconf_parse() 50 manpath_parseline(&conf->manpath, defp, 'M'); in manconf_parse() 68 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse() 74 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse() 83 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse() 85 manpath_parseline(&conf->manpath, insert + 1, '\0'); in manconf_parse() 90 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse() 153 for (i = 0; i < conf->manpath.sz; i++) in manconf_free() 154 free(conf->manpath.paths[i]); in manconf_free() 156 free(conf->manpath.paths); in manconf_free() [all …]
|
| H A D | main.c | 497 if (conf.manpath.sz == 0) { in main() 501 for (i = 0; i + 1 < conf.manpath.sz; i++) in main() 502 printf("%s:", conf.manpath.paths[i]); in main() 503 printf("%s\n", conf.manpath.paths[i]); in main() 509 (void)mansearch(&search, &conf.manpath, in main() 512 (void)fs_search(&search, &conf.manpath, in main() 592 if (mansearch(&search, &conf.manpath, in main() 910 (void)chdir(conf->manpath.paths[resp->ipath]); in process_onefile() 1066 check_xr(&conf->manpath); in parse()
|
| H A D | manconf.h | 51 struct manpaths manpath; member
|
| H A D | mandocdb.c | 478 conf.manpath.paths = mandoc_reallocarray(NULL, in mandocdb() 480 conf.manpath.sz = (size_t)argc; in mandocdb() 482 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb() 486 if (conf.manpath.sz == 0) { in mandocdb() 497 for (j = 0; j < conf.manpath.sz; j++) { in mandocdb() 498 sz = strlen(conf.manpath.paths[j]); in mandocdb() 499 if (sz && conf.manpath.paths[j][sz - 1] == '/') in mandocdb() 500 conf.manpath.paths[j][--sz] = '\0'; in mandocdb() 511 if (set_basedir(conf.manpath.paths[j], argc > 0) == 0) in mandocdb() 521 if (j + 1 < conf.manpath.sz) { in mandocdb()
|
| H A D | Makefile.depend | 50 manpath.o: manpath.c config.h mandoc_aux.h mandoc.h manconf.h
|
| H A D | Makefile | 108 manpath.c \ 310 manpath.o \
|
| H A D | NEWS | 11 * man(1): let -w without argument show the manpath, like in man-db and man-1.6 16 that was deprecated in 2015; please use "manpath" instead 40 * -W style: check .Xr links along the full manpath 44 * makewhatis(8): do not crash when a manpath directory contains 474 * Drop support for manpath(1). Even if your system has manpath(1), 478 than to bother with the complexity of manpath(1). 621 * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that 622 apropos(1) and man.cgi(8) are installed in the default manpath. 850 * Autodetect wchar, sqlite3, and manpath support.
|
| /freebsd-14.2/usr.bin/man/ |
| H A D | Makefile | 3 LINKS= ${BINDIR}/man ${BINDIR}/manpath 5 MAN= man.1 manpath.1 man.conf.5
|
| H A D | man.sh | 46 case "$manpath" in 52 manpath="$manpath:$1" 141 MANPATH=${manpath#:} 842 if [ -z "$manpath" ]; then 844 manpath=$man_default_path 1114 *manpath) do_manpath "$@" ;;
|
| /freebsd-14.2/usr.sbin/periodic/etc/weekly/ |
| H A D | 320.whatis | 18 MANPATH=`/usr/bin/manpath -q` 26 man_locales=`/usr/bin/manpath -qL`
|
| /freebsd-14.2/usr.bin/indent/tests/ |
| H A D | comments.0 | 13 …* https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&…
|
| H A D | comments.0.stdout | 15 …* https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&…
|
| /freebsd-14.2/usr.bin/mandoc/ |
| H A D | Makefile | 94 manpath.c \
|
| /freebsd-14.2/contrib/file/magic/Magdir/ |
| H A D | archive | 11 # Reference: https://www.freebsd.org/cgi/man.cgi?query=tar&sektion=5&manpath=FreeBSD+8-current
|
| /freebsd-14.2/tools/build/mk/ |
| H A D | OptionalObsoleteFiles.inc | 5515 OLD_FILES+=usr/bin/manpath 5522 OLD_FILES+=usr/share/man/man1/manpath.1.gz
|
| /freebsd-14.2/ |
| H A D | ObsoleteFiles.inc | 15567 # 20101002: removed manpath.config 15568 OLD_FILES+=etc/manpath.config 15569 OLD_FILES+=usr/share/examples/etc/manpath.config
|