Function list_get_min

Source
pub unsafe extern "C" fn list_get_min(l: *const list_t) -> *mut c_void
Expand description

return the minimum element of the list.

@warning Requires a comparator function to be set for the list.

Returns the minimum element with respect to the comparator function output.

@see list_attributes_comparator()

@param l list to operate @return the reference to the element, or NULL