Function nix_init_path_string

Source
pub unsafe extern "C" fn nix_init_path_string(
    context: *mut nix_c_context,
    s: *mut EvalState,
    value: *mut nix_value,
    str_: *const c_char,
) -> nix_err
Expand description

Set a path

§Arguments

  • context [out] - Optional, stores error information
  • value [out] - Nix value to modify
  • str [in] - the path string, copied

§Returns

error code, NIX_OK on success.