Type Alias nix_err

Source
pub type nix_err = c_int;
Expand description

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 error occurred (-3)
  • NIX_ERR_NIX_ERROR: A generic Nix error occurred (-4)