pub unsafe extern "C" fn get_attr_byname_lazy(
context: *mut c_context,
value: *const value,
state: *mut EvalState,
name: *const c_char,
) -> *mut valueExpand description
@brief Get an attribute value by attribute name, without forcing evaluation of the attribute’s value @ingroup value_extract
Returns the attribute value without forcing its evaluation, allowing access to lazy values. The attribute set value itself must already be evaluated.
Call nix_value_decref() when you’re done with the pointer @param[out] context Optional, stores error information @param[in] value Nix value to inspect (must be an evaluated attribute set) @param[in] state nix evaluator state @param[in] name attribute name @return value, NULL in case of errors