mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
errno(3) -> errno(2)
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8f6e650985
commit
be9430ef05
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296211
@ -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
|
||||
|
@ -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 ,
|
||||
|
Loading…
Reference in New Issue
Block a user