err

Type Alias err 

Source
pub type err = c_int;
Expand description

@brief Type for error codes in the Nix system

This type can have one of several predefined constants:

  • NIX_OK: No error occurred (0)
  • NIX_ERR_UNKNOWN: An unknown error occurred (-1)
  • NIX_ERR_OVERFLOW: An overflow error occurred (-2)
  • NIX_ERR_KEY: A key/index access error occurred in C API functions (-3)
  • NIX_ERR_NIX_ERROR: A generic Nix error occurred (-4)