svn commit: r214443 - head/share/man/man3
David Xu
davidxu at FreeBSD.org
Thu Oct 28 02:59:25 UTC 2010
Author: davidxu
Date: Thu Oct 28 02:59:25 2010
New Revision: 214443
URL: http://svn.freebsd.org/changeset/base/214443
Log:
Follow the change made in libthr, add ERANGE error code and more
EINVAL error cases.
Modified:
head/share/man/man3/pthread_attr_affinity_np.3
Modified: head/share/man/man3/pthread_attr_affinity_np.3
==============================================================================
--- head/share/man/man3/pthread_attr_affinity_np.3 Thu Oct 28 00:54:18 2010 (r214442)
+++ head/share/man/man3/pthread_attr_affinity_np.3 Thu Oct 28 02:59:25 2010 (r214443)
@@ -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
More information about the svn-src-all
mailing list