18 lines
348 B
C
18 lines
348 B
C
|
#ifndef __MS_H__
|
||
|
#define __MS_H__ 1
|
||
|
|
||
|
#include <sys/types.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <unistd.h>
|
||
|
#include <sys/mman.h>
|
||
|
#include <string.h>
|
||
|
#include <sys/wait.h>
|
||
|
|
||
|
void mymerge(int left[], size_t leftlen, int right[], size_t rightlen, int res[]);
|
||
|
|
||
|
int mymergesort(int arr[], size_t len);
|
||
|
|
||
|
int mymergesortp(int arr[], size_t len, int cnt);
|
||
|
|
||
|
#endif
|