Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man3 Add return type of the __SHIFT* macros. Bump...



details:   https://anonhg.NetBSD.org/src/rev/3c12b4fc2b3e
branches:  trunk
changeset: 359738:3c12b4fc2b3e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jan 20 07:30:25 2022 +0000

description:
Add return type of the __SHIFT* macros.  Bump date.

"looks right to me" from mrg@

diffstat:

 share/man/man3/bits.3 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r feb8c935026c -r 3c12b4fc2b3e share/man/man3/bits.3
--- a/share/man/man3/bits.3     Thu Jan 20 03:14:03 2022 +0000
+++ b/share/man/man3/bits.3     Thu Jan 20 07:30:25 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bits.3,v 1.19 2020/06/08 17:28:10 sevan Exp $
+.\"    $NetBSD: bits.3,v 1.20 2022/01/20 07:30:25 skrll Exp $
 .\"
 .\" Copyright (c) 2006, 2010 David Young.  All rights reserved.
 .\"
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 6, 2016
+.Dd January 20, 2022
 .Dt BITS 3
 .Os
 .Sh NAME
@@ -42,8 +42,11 @@
 .Fn __BIT "n"
 .Ft uintmax_t
 .Fn __BITS "m" "n"
+.Ft uintmax_t
 .Fn __SHIFTIN "v" "mask"
+.Ft uintmax_t
 .Fn __SHIFTOUT "v" "mask"
+.Ft uintmax_t
 .Fn __SHIFTOUT_MASK "mask"
 .Sh DESCRIPTION
 These macros prepare bitmasks, extract bitfields from words, and



Home | Main Index | Thread Index | Old Index