Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2010 02:59:25 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214443 - head/share/man/man3
Message-ID:  <201010280259.o9S2xPnD059380@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010280259.o9S2xPnD059380>