|
NAMEsysdecode_abi_to_freebsd_errno ,
sysdecode_freebsd_to_abi_errno —
translate error numbers between process ABIs
LIBRARYSystem Argument Decoding Library (libsysdecode, -lsysdecode)SYNOPSIS#include <sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
int
int
DESCRIPTIONThesysdecode_abi_to_freebsd_errno () function returns
the native
errno(2)
value that corresponds to the error indicated by error
for the process ABI abi. If error
does not identify a valid error for abi,
INT_MAX is returned.
The Note that the mappings between native
errno(2)
values and errors for other ABIs are not exhaustive. If a mapping does not
exist, these functions return RETURN VALUESThese functions return an error value on success orINT_MAX if error is not valid.
For the list of supported ABIs, see sysdecode(3). SEE ALSOsysdecode(3), sysdecode_syscallnames(3)
Visit the GSP FreeBSD Man Page Interface. |