From owner-svn-src-all@freebsd.org Mon Feb 29 17:34:56 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F268AB8F37; Mon, 29 Feb 2016 17:34:56 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C47FF49; Mon, 29 Feb 2016 17:34:56 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1THYtFQ031014; Mon, 29 Feb 2016 17:34:55 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1THYt5f031012; Mon, 29 Feb 2016 17:34:55 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201602291734.u1THYt5f031012@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Mon, 29 Feb 2016 17:34:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296211 - in head/lib: libsysdecode libthr X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 29 Feb 2016 17:34:56 -0000 Author: trasz Date: Mon Feb 29 17:34:54 2016 New Revision: 296211 URL: https://svnweb.freebsd.org/changeset/base/296211 Log: errno(3) -> errno(2) MFC after: 1 month Sponsored by: The FreeBSD Foundation Modified: head/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 head/lib/libthr/libthr.3 Modified: head/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 ============================================================================== --- head/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 Mon Feb 29 17:30:34 2016 (r296210) +++ head/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 Mon Feb 29 17:34:54 2016 (r296211) @@ -43,7 +43,7 @@ The .Fn sysdecode_abi_to_freebsd_errno function returns the native -.Xr errno 3 +.Xr errno 2 value that corresponds to the error indicated by .Fa error for the process ABI @@ -60,19 +60,19 @@ The function the error value for the process ABI .Fa abi that corresponds to the native -.Xr errno 3 +.Xr errno 2 value .Fa error . If .Fa error does not identify a valid -.Xr errno 3 +.Xr errno 2 error, .Dv INT_MAX is returned. .Pp Note that the mappings between native -.Xr errno 3 +.Xr errno 2 values and errors for other ABIs are not exhaustive. If a mapping does not exist, these functions return Modified: head/lib/libthr/libthr.3 ============================================================================== --- head/lib/libthr/libthr.3 Mon Feb 29 17:30:34 2016 (r296210) +++ head/lib/libthr/libthr.3 Mon Feb 29 17:34:54 2016 (r296211) @@ -235,12 +235,11 @@ logs. .Xr ktrace 1 , .Xr ld-elf.so.1 1 , .Xr getrlimit 2 , +.Xr errno 2 , .Xr umtx 2 , .Xr dlclose 3 , .Xr dlopen 3 , -.Xr errno 3 , .Xr getenv 3 , -.Xr libc 3 , .Xr pthread_attr 3 , .Xr pthread_attr_setstacksize 3 , .Xr pthread_create 3 ,