Skip to main content

tsk_tree_clear

Function tsk_tree_clear 

Source
pub unsafe extern "C" fn tsk_tree_clear(
    self_: *mut tsk_tree_t,
) -> c_int
Available on crate feature bindings only.
Expand description

@brief Set the tree into the null state.

@rst Transform this tree into the :ref:null state<sec_c_api_trees_null>. @endrst

@param self A pointer to an initialised tsk_tree_t object. @return Return 0 on success or a negative value on failure.