Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2022 12:16:29 GMT
From:      =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 145c65fc5791 - main - bitset.9: add description of BIT_ISSET
Message-ID:  <202201061216.206CGTuI005215@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=145c65fc5791d1e4a21c7653f68a55cfd1772aac

commit 145c65fc5791d1e4a21c7653f68a55cfd1772aac
Author:     Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2022-01-06 12:14:18 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-01-06 12:15:55 +0000

    bitset.9: add description of BIT_ISSET
    
    Extracted from abandoned review https://reviews.freebsd.org/D33701.
    
    MFC after:      3 days
---
 share/man/man9/bitset.9 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/share/man/man9/bitset.9 b/share/man/man9/bitset.9
index e6ce3d9b4f58..d177bea51762 100644
--- a/share/man/man9/bitset.9
+++ b/share/man/man9/bitset.9
@@ -256,6 +256,16 @@ is composed of multiple machine words,
 performs multiple individually atomic operations.)
 .Pp
 The
+.Fn BIT_ISSET
+macro returns
+.Dv true
+if the bit
+.Fa bit
+in the bitset pointed to by
+.Fa bitset
+is set.
+.Pp
+The
 .Fn BIT_SET
 macro sets bit
 .Fa bit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201061216.206CGTuI005215>