Home
last modified time | relevance | path

Searched refs:manpath (Results 1 – 17 of 17) sorted by relevance

/freebsd-13.1/contrib/mandoc/
H A Dcgi.c206 req->q.manpath = NULL; in parse_query_string()
906 char *manpath; in pg_show() local
920 free(manpath); in pg_show()
930 if (chdir(manpath) == -1) { in pg_show()
933 free(manpath); in pg_show()
936 free(manpath); in pg_show()
1101 if (req.q.manpath == NULL) in main()
1124 free(req.q.manpath); in main()
1144 req->q.manpath = NULL; in parse_path_info()
1175 free(req->q.manpath); in parse_path_info()
[all …]
H A Dmanpath.c46 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 Dmanconf.h45 struct manpaths manpath; member
H A Dmandocdb.c472 conf.manpath.paths = mandoc_reallocarray(NULL, in mandocdb()
474 conf.manpath.sz = (size_t)argc; in mandocdb()
476 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb()
480 if (conf.manpath.sz == 0) { in mandocdb()
491 for (j = 0; j < conf.manpath.sz; j++) { in mandocdb()
492 sz = strlen(conf.manpath.paths[j]); in mandocdb()
493 if (sz && conf.manpath.paths[j][sz - 1] == '/') in mandocdb()
494 conf.manpath.paths[j][--sz] = '\0'; in mandocdb()
505 if ( ! set_basedir(conf.manpath.paths[j], argc > 0)) in mandocdb()
515 if (j + 1 < conf.manpath.sz) { in mandocdb()
H A Dmain.c459 if ( ! mansearch(&search, &conf.manpath, in main()
464 (void)fs_search(&search, &conf.manpath, in main()
615 (void)chdir(conf.manpath.paths[resp->ipath]); in main()
H A DMakefile.depend49 manpath.o: manpath.c config.h mandoc_aux.h mandoc.h manconf.h
H A DMakefile105 manpath.c \
301 manpath.o \
H A DNEWS275 * 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.
/freebsd-13.1/usr.bin/man/
H A DMakefile4 LINKS= ${BINDIR}/man ${BINDIR}/manpath
6 MAN= man.1 manpath.1 man.conf.5
H A Dman.sh35 case "$manpath" in
41 manpath="$manpath:$1"
111 MANPATH=${manpath#:}
813 if [ -z "$manpath" ]; then
815 manpath=$man_default_path
1033 *manpath) do_manpath "$@" ;;
/freebsd-13.1/usr.sbin/periodic/etc/weekly/
H A D320.whatis19 MANPATH=`/usr/bin/manpath -q`
27 man_locales=`/usr/bin/manpath -qL`
/freebsd-13.1/usr.bin/indent/tests/
H A Dcomments.014 …* https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&…
H A Dcomments.0.stdout16 …* https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&…
/freebsd-13.1/usr.bin/mandoc/
H A DMakefile94 manpath.c \
/freebsd-13.1/contrib/file/magic/Magdir/
H A Darchive11 # Reference: https://www.freebsd.org/cgi/man.cgi?query=tar&sektion=5&manpath=FreeBSD+8-current
/freebsd-13.1/
H A DObsoleteFiles.inc9498 # 20101002: removed manpath.config
9499 OLD_FILES+=etc/manpath.config
9500 OLD_FILES+=usr/share/examples/etc/manpath.config
/freebsd-13.1/tools/build/mk/
H A DOptionalObsoleteFiles.inc6026 OLD_FILES+=usr/bin/manpath
6033 OLD_FILES+=usr/share/man/man1/manpath.1.gz