git: 145c65fc5791 - main - bitset.9: add description of BIT_ISSET
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jan 2022 12:16:29 UTC
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