[][src]Function opensc_sys::list_clear

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

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