From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p5LD9JFT005788 for ; Tue, 21 Jun 2011 09:09:20 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id p5LD9Jcq019410; Tue, 21 Jun 2011 09:09:19 -0400 (EDT) Date: Tue, 21 Jun 2011 09:09:19 -0400 (EDT) Message-Id: <201106211309.p5LD9Jcq019410@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Make sure makewhatis.1 is documenting the correct bit-fields. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Make sure makewhatis.1 is documenting the correct bit-fields. Modified Files: -------------- mdocml: makewhatis.1 Revision Data ------------- Index: makewhatis.1 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/makewhatis.1,v retrieving revision 1.3 retrieving revision 1.4 diff -Lmakewhatis.1 -Lmakewhatis.1 -u -p -r1.3 -r1.4 --- makewhatis.1 +++ makewhatis.1 @@ -87,32 +87,29 @@ length plus one) mapping to a 8-byte bin 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 -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv