Home
last modified time | relevance | path

Searched refs:manpaths (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/usr.sbin/catman/
H A Dcatman.c261 glob_t manpaths; in uniquepath() local
272 &manpaths); in uniquepath()
279 for (i = 0; i < manpaths.gl_pathc; i++) { in uniquepath()
281 lstat(manpaths.gl_pathv[i], &st1); in uniquepath()
282 for (j = 0; j < manpaths.gl_pathc; j++) { in uniquepath()
284 lstat(manpaths.gl_pathv[j], &st2); in uniquepath()
286 strlcpy(path, manpaths.gl_pathv[i], in uniquepath()
297 len = readlink(manpaths.gl_pathv[i], in uniquepath()
302 if (!strcmp(path, manpaths.gl_pathv[j])) in uniquepath()
311 if (addentry(defnewp, manpaths.gl_pathv[i], 0) < 0) in uniquepath()
[all …]
/netbsd-src/external/bsd/mdocml/dist/
H A Dmanconf.h21 struct manpaths { struct
45 struct manpaths manpath; argument
52 void manpath_base(struct manpaths *);
H A Dmanpath.c36 static void manpath_add(struct manpaths *, const char *, int);
37 static void manpath_parseline(struct manpaths *, char *, int);
95 manpath_base(struct manpaths *dirs) in manpath_base()
105 manpath_parseline(struct manpaths *dirs, char *path, int complain) in manpath_parseline()
121 manpath_add(struct manpaths *dirs, const char *dir, int complain) in manpath_add()
H A Dmansearch.h109 struct manpaths;
112 const struct manpaths *paths, /* manpaths */
H A Dmain.c93 static int fs_lookup(const struct manpaths *,
98 const struct manpaths *, int, char**,
700 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup()
773 fs_search(const struct mansearch *cfg, const struct manpaths *paths, in fs_search()
906 static struct manpaths paths; in check_xr()
H A Dmansearch.c85 const struct manpaths *paths, in mansearch()
H A Dcgi.c955 struct manpaths paths; in pg_search()