From owner-svn-src-all@FreeBSD.ORG Thu Oct 28 02:59:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9456B106564A; Thu, 28 Oct 2010 02:59:25 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8300E8FC0A; Thu, 28 Oct 2010 02:59:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9S2xPpn059382; Thu, 28 Oct 2010 02:59:25 GMT (envelope-from davidxu@svn.freebsd.org) Received: (from davidxu@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9S2xPnD059380; Thu, 28 Oct 2010 02:59:25 GMT (envelope-from davidxu@svn.freebsd.org) Message-Id: <201010280259.o9S2xPnD059380@svn.freebsd.org> From: David Xu Date: Thu, 28 Oct 2010 02:59:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r214443 - head/share/man/man3 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2010 02:59:25 -0000 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