kernel

Module error

Source
Expand description

Kernel errors.

C header: include/uapi/asm-generic/errno-base.h

Modules§

  • Contains the C-compatible error codes.

Structs§

  • Generic integer kernel error.

Constants§

Functions§

  • Transform a kernel “error pointer” to a normal pointer.
  • Calls a closure returning a crate::error::Result<T> and converts the result to a C integer result.
  • Converts an integer as returned by a C kernel function to an error if it’s negative, and Ok(()) otherwise.

Type Aliases§