mergesort/ms.h

18 lines
348 B
C
Raw Normal View History

2015-03-04 19:51:13 +00:00
#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