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

Go to the source code of this file.

Functions

void array_merge_sort (t_array *array)
 Sorts this array using merge sort. More...
 

Function Documentation

◆ array_merge_sort()

void array_merge_sort ( t_array array)

Sorts this array using merge sort.

Returns
0 on success, 1 on failure. In case of an error, errno is set accordingly.
Note
For this function to work, the datatype in this array must be comparable (i.e. implement the cmp function).

Definition at line 73 of file array_merge_sort.c.