Function nix_init_string
Source pub unsafe extern "C" fn nix_init_string(
context: *mut nix_c_context,
value: *mut nix_value,
str_: *const c_char,
) -> nix_err
Expand description
Set a string
§Arguments
context
[out] - Optional, stores error information
value
[out] - Nix value to modify
str
[in] - the string, copied
§Returns
error code, NIX_OK on success.