Function nix_err_code
Source pub unsafe extern "C" fn nix_err_code(
read_context: *const nix_c_context,
) -> nix_err
Expand description
Retrieves the most recent error code from a nix_c_context
Equivalent to reading the first field of the context.
Does not fail
§Arguments
read_context
[in] - the context to retrieve the error message from
§Returns
most recent error code stored in the context.