Function nix_copy_value

Source
pub unsafe extern "C" fn nix_copy_value(
    context: *mut nix_c_context,
    value: *mut nix_value,
    source: *const nix_value,
) -> nix_err
Expand description

Copy from another value

§Arguments

  • context [out] - Optional, stores error information
  • value [out] - Nix value to modify
  • source [in] - value to copy from

§Returns

error code, NIX_OK on success.