data_structures
|
#include "list.h"
Go to the source code of this file.
Functions | |
void * | list_unlink (t_list *alst, size_t index) |
Removes the item at the specified position in the list and returns it. More... | |
void* list_unlink | ( | t_list * | alst, |
size_t | index | ||
) |
Removes the item at the specified position in the list and returns it.
NULL
if the list is empty. O(N/2)
in the number of items in the worst case. Definition at line 41 of file list_unlink.c.