Module kernel::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

  • Converts an integer as returned by a C kernel function to an error if it’s negative, and Ok(()) otherwise.

Type Aliases

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.