[−][src]Type Definition system_error::KernelCode
type KernelCode = c_int;
A type for storing kernel error codes.
This is not used for libc or Windows errors (i.e. errno
or
GetLastError
). On macOS and iOS, some platform invocations use a different
error mechanism (i.e. kern_return_t
), and this is used to hold that value.
On other platforms this isn't generally used. However, to maintain cross- platform use of the error, it is implemented across all platforms.