/src/usr.sbin/makemandb/ |
Makefile | 8 PROGS= makemandb apropos whatis 11 SRCS.whatis= whatis.c apropos-utils.c manconf.c custom_apropos_tokenizer.c 14 MAN.whatis= whatis.1 18 BINDIR.whatis= /usr/bin
|
whatis.c | 1 /* $NetBSD: whatis.c,v 1.10 2023/08/03 07:49:23 rin Exp $ */ 32 __RCSID("$NetBSD: whatis.c,v 1.10 2023/08/03 07:49:23 rin Exp $"); 44 fprintf(stderr, "%s [-C path] ...\n", "whatis"); 49 whatis(sqlite3 *db, const char *cmd) function in typeref:typename:int 108 retval |= whatis(db, *argv++);
|
/src/usr.bin/whatis/ |
whatis.c | 1 /* $NetBSD: whatis.c,v 1.24 2011/09/06 18:46:03 joerg Exp $ */ 41 static char sccsid[] = "@(#)whatis.c 8.5 (Berkeley) 1/2/94"; 43 __RCSID("$NetBSD: whatis.c,v 1.24 2011/09/06 18:46:03 joerg Exp $"); 68 static void whatis(char **, char *, int); 112 whatis(argv, p_augment, 1); 114 whatis(argv, p_path, 1); 131 whatis(argv, *p, 0); 137 fprintf(stderr, "whatis: no %s file found.\n", _PATH_WHATIS); 150 whatis(char **argv, char *path, int buildpath) function in typeref:typename:void 248 "usage: whatis [-C file] [-M path] [-m path] command ...\n") [all...] |
/src/libexec/makewhatis/ |
makewhatis.c | 82 typedef struct whatisstruct whatis; typedef in typeref:struct:whatisstruct 84 whatis *wi_left, *wi_right; 97 static void addwhatis(whatis **, char *, char *); 106 static void processmanpages(manpage **, whatis **); 107 static void dumpwhatis(FILE *, whatis *); 249 whatis *dest; 525 addwhatis(whatis **tree, char *data, char *prefix) 527 whatis *wi; 549 wi = emalloc(sizeof(whatis) + strlen(prefix)); 1126 processmanpages(manpage **source, whatis **dest [all...] |