Module Name: src
Committed By: sborrill
Date: Fri Oct 26 07:41:24 UTC 2012
Modified Files:
src/share/man/man3 [netbsd-5]: bits.3
Log Message:
Pull up the following revisions(s) (requested by msaitoh in ticket #1808):
share/man/man3/bits.3: revision 1.13-1.14 via patch
Document the correct return value of __BIT() and __BITS().
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.2.1 src/share/man/man3/bits.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man3/bits.3
diff -u src/share/man/man3/bits.3:1.3 src/share/man/man3/bits.3:1.3.2.1
--- src/share/man/man3/bits.3:1.3 Tue Aug 19 22:54:53 2008
+++ src/share/man/man3/bits.3 Fri Oct 26 07:41:23 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: bits.3,v 1.3 2008/08/19 22:54:53 jnemeth Exp $
+.\" $NetBSD: bits.3,v 1.3.2.1 2012/10/26 07:41:23 sborrill Exp $
.\"
.\" Copyright (c) 2006 David Young. All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 9, 2006
+.Dd October 17, 2012
.Dt BITS 3
.Os
.Sh NAME
@@ -40,9 +40,9 @@
.Nd "macros for preparing bitmasks and operating on bit fields"
.Sh SYNOPSIS
.In sys/cdefs.h
-.Ft uint32_t
+.Ft uintmax_t
.Fn __BIT "n"
-.Ft uint32_t
+.Ft uintmax_t
.Fn __BITS "m" "n"
.Fn __SHIFTIN "v" "mask"
.Fn __SHIFTOUT "v" "mask"