|
Libft
42 Libft library documentation
|
Include dependency graph for ft_lstnew.c:Go to the source code of this file.
Functions | |
| t_list * | ft_lstnew (void *content) |
| Creates a new linked-list node. | |
| t_list * ft_lstnew | ( | void * | content | ) |
Creates a new linked-list node.
The node is initialized with content and its next pointer is set to NULL.
| content | Pointer stored in the node. |
Definition at line 24 of file ft_lstnew.c.
References s_list::content, and s_list::next.
Referenced by ft_lstmap().
Here is the caller graph for this function: