summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_attr_affinity_np.3
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-10-28 02:59:25 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-10-28 02:59:25 +0000
commita37038ef4105a7e5e74d4da753f171b2a40c6a5c (patch)
treed260c433025a74cb29c671e1216e54cf96e7bb03 /share/man/man3/pthread_attr_affinity_np.3
parent4457d701ab035088aeb591b69d648d30aa92a040 (diff)
downloadFreeBSD-src-a37038ef4105a7e5e74d4da753f171b2a40c6a5c.zip
FreeBSD-src-a37038ef4105a7e5e74d4da753f171b2a40c6a5c.tar.gz
Follow the change made in libthr, add ERANGE error code and more
EINVAL error cases.
Diffstat (limited to 'share/man/man3/pthread_attr_affinity_np.3')
-rw-r--r--share/man/man3/pthread_attr_affinity_np.314
1 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man3/pthread_attr_affinity_np.3 b/share/man/man3/pthread_attr_affinity_np.3
index c61f699..592652b 100644
--- a/share/man/man3/pthread_attr_affinity_np.3
+++ b/share/man/man3/pthread_attr_affinity_np.3
@@ -94,8 +94,6 @@ to indicate the error.
.Sh ERRORS
The
.Fn pthread_attr_getaffinity_np
-and
-.Fn pthread_attr_setaffinity_np
functions will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
@@ -103,6 +101,10 @@ The
.Fa pattr
or the attribute specified by it is
.Dv NULL .
+.It Bq Er ERANGE
+The
+.Fa cpusetsize
+is too small.
.El
.Pp
The
@@ -114,6 +116,14 @@ The
.Fa pattr
or the attribute specified by it is
.Dv NULL .
+.It Bq Er EINVAL
+The
+.Fa cpusetp
+specified a CPU that was outside the set supported by the kernel.
+.It Bq Er ERANGE
+The
+.Fa cpusetsize
+is too small.
.It Bq Er ENOMEM
Insufficient memory exists to store the cpuset mask.
.El
OpenPOWER on IntegriCloud