aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2023-01-29 12:37:18 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2023-01-29 12:37:18 +0000
commit2b87addf526e058158a332547d44b24a80f71321 (patch)
tree96b59dd19914b38e45691b1cb0debaa49fe028f3 /share
parent62801712dfc17fed6f8d4c9b64dca18d51a2bf9b (diff)
downloadsrc-2b87addf526e058158a332547d44b24a80f71321.tar.gz
src-2b87addf526e058158a332547d44b24a80f71321.zip
libthr: Fix pthread_attr_[g|s]etaffinity_np manual.
Fix my fault in f35093f8. MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/pthread_attr_affinity_np.311
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man3/pthread_attr_affinity_np.3 b/share/man/man3/pthread_attr_affinity_np.3
index 2c85aee9ac19..c1b9d0d79cd8 100644
--- a/share/man/man3/pthread_attr_affinity_np.3
+++ b/share/man/man3/pthread_attr_affinity_np.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 27, 2022
+.Dd January 29, 2023
.Dt PTHREAD_ATTR_AFFINITY_NP 3
.Os
.Sh NAME
@@ -52,16 +52,17 @@ are composed using the
.Dv CPU_SET
macros.
If the user-supplied mask is not large enough to fit all of the matching CPUs,
-.Fn cpuset_getaffinity
+.Fn pthread_attr_getaffinity_np
fails with
.Er ERANGE .
Calls to
-.Fn cpuset_setaffinity
+.Fn pthread_attr_setaffinity_np
tolerate masks of any size with no restrictions.
-The kernel uses the meaningful part of the mask, where the upper bound is
+.Fn pthread_attr_setaffinity_np
+uses the meaningful part of the mask, where the upper bound is
the maximum CPU id present in the system.
If bits for non-existing CPUs are set, calls to
-.Fn cpuset_setaffinity
+.Fn pthread_attr_setaffinity_np
fails with
.Er EINVAL .
.Pp