svn commit: r296211 - in head/lib: libsysdecode libthr
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Feb 29 17:34:56 UTC 2016
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 ,
More information about the svn-src-head
mailing list