data_structures
Functions
list_copy.c File Reference
#include "list.h"
+ Include dependency graph for list_copy.c:

Go to the source code of this file.

Functions

t_listlist_copy (const t_list *alst)
 Copies an list and all it contents. More...
 

Function Documentation

◆ list_copy()

t_list* list_copy ( const t_list alst)

Copies an list and all it contents.

Returns
A copy of the list

Definition at line 16 of file list_copy.c.