Function nix_get_path_string

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

Get path as string

§Arguments

  • context [out] - Optional, stores error information
  • value [in] - Nix value to inspect

§Returns

string, if the type is NIX_TYPE_PATH NULL in case of error.