Function list_clear

Source
pub unsafe extern "C" fn list_clear(l: *mut list_t) -> c_int
Expand description

clear all the elements off of the list.

The element data will not be freed.

@see list_delete_range() @see list_size()

@param l list to operate @return the number of elements in the list before cleaning