[429088]: kwave / mmap.h Maximize Restore History

Download this file

mmap.h    28 lines (19 with data), 433 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* mmapalloc Copyright 1998 Juhana Kouhia, <kouhia at nic.funet.fi>
* GNU licences apply, http://www.gnu.org
*/
#ifndef MMAPALLOC
#define MMAPALLOC
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
typedef struct mmapallocentry mmapallocnode;
struct mmapallocentry
{
mmapallocnode *next;
char *filename;
void *mmapaddr;
int mmapsize;
};
#endif