Home | History | Annotate | Download | only in makewhatis

Lines Matching refs:manpath

108 static int	makewhatis(char * const *manpath);
127 char * const *manpath;
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)
334 err(EXIT_FAILURE, "Cannot change dir to `%s'", manpath[0]);