summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apropos.14
-rw-r--r--mandocdb.810
-rw-r--r--mandocdb.c2
-rw-r--r--mandocdb.h4
-rw-r--r--whatis.14
5 files changed, 12 insertions, 12 deletions
diff --git a/apropos.1 b/apropos.1
index efbf216f..3cafdbe0 100644
--- a/apropos.1
+++ b/apropos.1
@@ -258,11 +258,11 @@ If none of these conditions are met, it overrides the default list.
.El
.Sh FILES
.Bl -tag -width "/etc/man.conf" -compact
-.It Pa mandoc.db
+.It Pa whatis.db
name of the
.Xr mandocdb 8
keyword database
-.It Pa mandoc.index
+.It Pa whatis.index
name of the
.Xr mandocdb 8
filename database
diff --git a/mandocdb.8 b/mandocdb.8
index 5a3b980a..3c603047 100644
--- a/mandocdb.8
+++ b/mandocdb.8
@@ -119,7 +119,7 @@ is printed to stderr, omitted from the index, and the parse continues
with the next input file.
.Ss Index Database
The index database,
-.Pa mandoc.index ,
+.Pa whatis.index ,
is a
.Xr recno 3
database with record values consisting of
@@ -155,7 +155,7 @@ Each of the above is NUL-terminated.
If the record value is zero-length, it is unassigned.
.Ss Keyword Database
The keyword database,
-.Pa mandoc.db ,
+.Pa whatis.db ,
is a
.Xr btree 3
database of NUL-terminated keywords (record length is non-zero string
@@ -221,12 +221,12 @@ or
respectively, grows as a multiple of the index length and input size.
.Sh FILES
.Bl -tag -width Ds
-.It Pa mandoc.db
+.It Pa whatis.db
A
.Xr btree 3
keyword database mapping keywords to a type and file reference in
-.Pa mandoc.index .
-.It Pa mandoc.index
+.Pa whatis.index .
+.It Pa whatis.index
A
.Xr recno 3
database of indexed file-names.
diff --git a/mandocdb.c b/mandocdb.c
index 4a1ea4cc..7231bfb7 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1538,7 +1538,7 @@ ofile_argbuild(int argc, char *argv[], struct of **of)
* Recursively build up a list of files to parse.
* We use this instead of ftw() and so on because I don't want global
* variables hanging around.
- * This ignores the mandoc.db and mandoc.index files, but assumes that
+ * This ignores the whatis.db and whatis.index files, but assumes that
* everything else is a manual.
* Pass in a pointer to a NULL structure for the first invocation.
*/
diff --git a/mandocdb.h b/mandocdb.h
index 6ac8b774..72d05113 100644
--- a/mandocdb.h
+++ b/mandocdb.h
@@ -17,8 +17,8 @@
#ifndef MANDOCDB_H
#define MANDOCDB_H
-#define MANDOC_DB "mandoc.db"
-#define MANDOC_IDX "mandoc.index"
+#define MANDOC_DB "whatis.db"
+#define MANDOC_IDX "whatis.index"
#define TYPE_An 0x0000000000000001ULL
#define TYPE_Ar 0x0000000000000002ULL
diff --git a/whatis.1 b/whatis.1
index 09dcb9ce..9c35b6cb 100644
--- a/whatis.1
+++ b/whatis.1
@@ -130,11 +130,11 @@ If none of these conditions are met, it overrides the default list.
.El
.Sh FILES
.Bl -tag -width "/etc/man.conf" -compact
-.It Pa mandoc.db
+.It Pa whatis.db
name of the
.Xr mandocdb 8
keyword database
-.It Pa mandoc.index
+.It Pa whatis.index
name of the
.Xr mandocdb 8
filename database