From def18ef5006a69910ed1dcf005645809052c2b1e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 21 Jun 2011 13:09:19 +0000 Subject: Make sure makewhatis.1 is documenting the correct bit-fields. --- makewhatis.1 | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/makewhatis.1 b/makewhatis.1 index 0b0febd5..73aab84d 100644 --- a/makewhatis.1 +++ b/makewhatis.1 @@ -87,32 +87,29 @@ length plus one) mapping to a 8-byte binary field consisting of the keyword type and source .Sx Index Database record number. -The type, an unsigned 32-bit integer in host order, is one of the -following: +The type, a 32-bit bit-mask in host order, consists of the following +fields: .Pp .Bl -tag -width Ds -offset indent -compact .It Li 0x01 The name of a manual page as given in the NAME section. .It Li 0x02 A function prototype name as given in the SYNOPSIS section. -.It Li 0x03 -A utility name as given in the SYNOPSIS section. .It Li 0x04 +A utility name as given in the SYNOPSIS section. +.It Li 0x08 An include file as given in the SYNOPSIS section. -.It Li 0x05 +.It Li 0x10 A variable name as given in the SYNOPSIS section. -.It Li 0x06 +.It Li 0x20 A standard as given in the STANDARDS section. -.It Li 0x07 +.It Li 0x40 An author as given in the AUTHORS section. -.It Li 0x08 +.It Li 0x80 A configuration as given in the SYNOPSIS section. .El .Pp -If a value is encountered outside of this range, the database is -corrupt. -.Pp -The latter four bytes are a host-ordered record number within the +The last four bytes are a host-ordered record number within the .Sx Index Database . .Pp The -- cgit