addpath
static void addpath(struct manstate *, const char *, size_t, const char *,
m.addpath = optarg;
addpath(&m, p, len, esubd->s, INS_TAIL);
addpath(&m, "", 1, epath->s, INS_TAIL);
addpath(&m, epath->s, epath->len, esubd->s, INS_TAIL);
if (m.addpath) {
for (p = strtok(m.addpath, ":") ; p ; p = strtok(NULL, ":")) {
addpath(&m, p, len, esubd->s, INS_HEAD); /* Add to front */
char *addpath; /* -m: add these dirs to front of manpath */
addpath(*cp++);
addpath(*s++);
addpath('/');
static void addpath(int);
addpath(&p, ".");
addpath(&p, optarg);
static void addpath(struct path *, const char *);