Module Name: src
Committed By: christos
Date: Tue Dec 4 18:02:48 UTC 2012
Modified Files:
src/share/man/man3: bitmap.3 bitstring.3
Log Message:
more xref and info
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man3/bitmap.3
cvs rdiff -u -r1.14 -r1.15 src/share/man/man3/bitstring.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/bitmap.3
diff -u src/share/man/man3/bitmap.3:1.4 src/share/man/man3/bitmap.3:1.5
--- src/share/man/man3/bitmap.3:1.4 Tue Dec 4 01:57:45 2012
+++ src/share/man/man3/bitmap.3 Tue Dec 4 13:02:48 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: bitmap.3,v 1.4 2012/12/04 06:57:45 jruoho Exp $
+.\" $NetBSD: bitmap.3,v 1.5 2012/12/04 18:02:48 christos Exp $
.\"
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -50,7 +50,9 @@
The supplied macros are similar to the
.Xr select 2
.Fn FD_SET
-family, and to the
+family, to the
+.Xr setbit 9 ,
+macros and the
.Xr bitstring 3
library.
They are different from
@@ -58,6 +60,9 @@ They are different from
because they are designed to handle multiple sized bitmaps at the same time,
and they can be of any integral type.
They are different from
+.Xr setbit 9
+because they can operate on different integral types, not just on bytes.
+They are different from
.Xr bitstring 3
because they are just macros, they don't allocate memory or use code,
and they can be used in both kernel and userland.
@@ -126,7 +131,8 @@ main(int argc, char **argv)
.Sh SEE ALSO
.Xr select 2 ,
.Xr bitops 3 ,
-.Xr bitstring 3
+.Xr bitstring 3,
+.Xr setbit 9
.Sh HISTORY
The
.Fn __BITMAP_*
Index: src/share/man/man3/bitstring.3
diff -u src/share/man/man3/bitstring.3:1.14 src/share/man/man3/bitstring.3:1.15
--- src/share/man/man3/bitstring.3:1.14 Tue Dec 4 01:57:45 2012
+++ src/share/man/man3/bitstring.3 Tue Dec 4 13:02:48 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: bitstring.3,v 1.14 2012/12/04 06:57:45 jruoho Exp $
+.\" $NetBSD: bitstring.3,v 1.15 2012/12/04 18:02:48 christos Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -172,7 +172,8 @@ make_lpr_available()
.Ed
.Sh SEE ALSO
.Xr bitmap 3 ,
-.Xr malloc 3
+.Xr malloc 3 ,
+.Xr setbit 9
.Sh HISTORY
The
.Nm bitstring