From nobody Thu Jan 06 12:16:29 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BD7CC194534E; Thu, 6 Jan 2022 12:16:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JV51T3ZVLz4VSF; Thu, 6 Jan 2022 12:16:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B15E1FA1A; Thu, 6 Jan 2022 12:16:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 206CGTlA005216; Thu, 6 Jan 2022 12:16:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 206CGTuI005215; Thu, 6 Jan 2022 12:16:29 GMT (envelope-from git) Date: Thu, 6 Jan 2022 12:16:29 GMT Message-Id: <202201061216.206CGTuI005215@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan E=C3=9Fer?= Subject: git: 145c65fc5791 - main - bitset.9: add description of BIT_ISSET List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 145c65fc5791d1e4a21c7653f68a55cfd1772aac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641471389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wBKezMScSNT47iHnR8g5Wh7H9qkHhfEun6ZeU5dKhxU=; b=vOumxT56yr2O3zSnG4SBMGCjP4lGG8880A5PMu2L9LGpkmmHvXb6qNze0FZfeJnSOV5gQG 5n5czS320nqvu8UhJt4cGlFMOelp1/w5AUicfdszWMucwmSZYkgxooDNBPpH8TZy2CL+Z6 dxUXhqXLBeh51iA9+N0tzFCFORTnCFuBVB/CAybupKtMwGhMZGynfPFfG2C6kYrFVWt1jQ 4BUMlD30C5ZuCY/VPogDxpCoVmduEUnajsUvkLj+fRA6u70TrFV7uxczgfKiFz7u+mCXi8 Bx6xMKpuhIDQZqeD2m4iuXTEsmqQ4YWsFZcTyv/KfUogpI14YKp4pzk3vWdmRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641471389; a=rsa-sha256; cv=none; b=G3AAJF87n3B2ZsGny59KLgrTePVZwtyZj+5cbfbiB1MlKGB2keOwNdjeVbUK3vHz7KWMCO 8Y21WPYIRJiffcvin0ET6z8wOe2C9rYpcdUZZta1ZMaqobZR36ZIIwtPKrYUCmOCrz+4gF zhHKLJ0jSePxeyWbfJT6Nmew7KQRTO6cXd/n6Pl3C2FjEcsV3UfdbbouNv91/scjzWHWqT IyJf7lH9YfsO4TRzzcx5BjG4H09mdgU7wLA9qGn+wNRf5Zi7nU0HGil6LR8vfnCIAz95sF 5sFuWPSmgyavtxMzqVxdWxXLISfg7tQDDH03dTl72xtu6twsEjeKg9ku1bMxrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=145c65fc5791d1e4a21c7653f68a55cfd1772aac commit 145c65fc5791d1e4a21c7653f68a55cfd1772aac Author: Doug Moore AuthorDate: 2022-01-06 12:14:18 +0000 Commit: Stefan Eßer 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