aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-02-14 14:59:37 +0000
committerStefan Eßer <se@FreeBSD.org>2022-02-14 14:59:37 +0000
commiteaf3c3af9c88dc63ea09833397f2bbeded16f553 (patch)
treee2b547beec6ab78f2f218850a6b227eaed52e658
parenta4529c46d4ee330ff6d347a611d62f4792e94392 (diff)
downloadsrc-eaf3c3af9c88dc63ea09833397f2bbeded16f553.tar.gz
src-eaf3c3af9c88dc63ea09833397f2bbeded16f553.zip
cpuset.9: add description of CPU_ISSET()
PR: 261947 Reported by: thmu7 at freenet.de (Thomas Mueller) MFC after: 3 days
-rw-r--r--share/man/man9/cpuset.99
1 files changed, 9 insertions, 0 deletions
diff --git a/share/man/man9/cpuset.9 b/share/man/man9/cpuset.9
index 92b759b438a3..29dbc8fc733b 100644
--- a/share/man/man9/cpuset.9
+++ b/share/man/man9/cpuset.9
@@ -178,6 +178,15 @@ The
macro sets the bit representing the CPU with atomic acquire semantics.
.Pp
The
+.Fn CPU_ISSET
+macro returns
+.Dv true
+if CPU
+.Fa cpu_idx
+is a member of the cpuset pointed to by
+.Fa cpuset .
+.Pp
+The
.Fn CPU_ZERO
macro removes all CPUs from
.Fa cpuset .