Function nix_libutil_init

Source
pub unsafe extern "C" fn nix_libutil_init(
    context: *mut nix_c_context,
) -> nix_err
Expand description

Initializes nix_libutil and its dependencies. This function can be called multiple times, but should be called at least once prior to any other nix function.

§Arguments

  • context [out] - Optional, stores error information

§Returns

NIX_OK if the initialization is successful, or an error code otherwise.