diff options
author | gjb <gjb@FreeBSD.org> | 2016-03-02 16:14:46 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-03-02 16:14:46 +0000 |
commit | 955ce29ea33f5aa2d5477a1fe1a2735ac278cd0d (patch) | |
tree | 9c83d6fb30867514fbcff33f80605a1fb118d720 /lib/libsysdecode | |
parent | 4719e40f5bedd0f88591120e071741635f07993b (diff) | |
parent | 774a6245596e60bf04f03e8cccab06a3194504f5 (diff) | |
download | FreeBSD-src-955ce29ea33f5aa2d5477a1fe1a2735ac278cd0d.zip FreeBSD-src-955ce29ea33f5aa2d5477a1fe1a2735ac278cd0d.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libsysdecode')
-rw-r--r-- | lib/libsysdecode/Makefile.depend | 3 | ||||
-rw-r--r-- | lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/lib/libsysdecode/Makefile.depend b/lib/libsysdecode/Makefile.depend index 653f526..1061516 100644 --- a/lib/libsysdecode/Makefile.depend +++ b/lib/libsysdecode/Makefile.depend @@ -16,7 +16,4 @@ DIRDEPS = \ .if ${DEP_RELDIR} == ${_DEP_RELDIR} # local dependencies - needed for -jN in clean tree -ioctl.So: ioctl.c -ioctl.o: ioctl.c -ioctl.po: ioctl.c .endif diff --git a/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 b/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 index 74826f8..fdee211 100644 --- a/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 +++ b/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 @@ -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 |