Function nix_get_string

Source
pub unsafe extern "C" fn nix_get_string(
    context: *mut nix_c_context,
    value: *const nix_value,
    callback: nix_get_string_callback,
    user_data: *mut c_void,
) -> nix_err
Expand description

Get the raw string This may contain placeholders.

§Arguments

  • context [out] - Optional, stores error information
  • value [in] - Nix value to inspect
  • callback [in] - Called with the string value.
  • user_data [in] - optional, arbitrary data, passed to the callback when it’s called.

§Returns

string error code, NIX_OK on success.