42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_pop_node.c File Reference

The file containing the my_pop_node function. More...

#include "mylist.h"

Functions

node_tmy_pop_node (node_t **begin, void const *data_ref, int(*cmp)())
 Removes a node from the list.
 

Detailed Description

The file containing the my_pop_node function.

Author
Nicolas TORO

Function Documentation

◆ my_pop_node()

node_t * my_pop_node ( node_t ** begin,
void const * data_ref,
int(* cmp )() )

Removes a node from the list.

Parameters
beginThe beginning of the list
data_refThe data to remove
cmpThe comparison function
Returns
node_t * The node removed from the list
Author
Nicolas TORO