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

The file containing the my_merge_list function. More...

#include "mylist.h"

Functions

void my_merge_list (node_t **begin1, node_t *begin2, int(*cmp)())
 Merges two linked lists.
 

Detailed Description

The file containing the my_merge_list function.

Author
Nicolas TORO

Function Documentation

◆ my_merge_list()

void my_merge_list ( node_t ** begin1,
node_t * begin2,
int(* cmp )() )

Merges two linked lists.

Parameters
begin1The beginning of the first list
begin2The beginning of the second list
cmpThe comparison function
Returns
void
Author
Nicolas TORO