OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:manpath
(Results
1 - 2
of
2
) sorted by relevancy
/src/usr.bin/man/
man.c
88
char *
manpath
; /* -M: alternate
MANPATH
*/
member in struct:manstate
89
char *addpath; /* -m: add these dirs to front of
manpath
*/
96
TAG *defaultpath; /* _default: default
MANPATH
*/
104
TAG *mymanpath; /* _new_path: final version of
MANPATH
*/
173
if ((m.
manpath
= strdup(optarg)) == NULL)
213
* without '-s'], and
MANPATH
through the environment).
255
if (m.
manpath
== NULL)
256
m.
manpath
= getenv("
MANPATH
"); /* note: -M overrides getenv *
[
all
...]
/src/libexec/makewhatis/
makewhatis.c
108
static int makewhatis(char * const *
manpath
);
127
char * const *
manpath
;
local in function:main
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
[
all
...]
Completed in 13 milliseconds
Indexes created Sat Sep 20 22:09:52 GMT 2025