Main index | Section 3 | Options |
#include <sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
The sysdecode_freebsd_to_abi_errno() function the error value for the process ABI abi that corresponds to the native errno(2) value error. If error does not identify a valid errno(2) error, INT_MAX is returned.
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 INT_MAX. In addition, multiple error values in one ABI may map to a single error in another ABI.
For the list of supported ABIs, see sysdecode(3).
sysdecode_abi_to_freebsd_errno (3) | October 17, 2016 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
— The Unix Haters' handbook |