17 void*
map(off_t offset,
size_t size);
29 static int read(off_t offset, T& value)
32 T* ptr = (T*)mmap.
map(offset,
sizeof(T));
45 static int write(off_t offset,
const T& value)
48 T* ptr = (T*)mmap.
map(offset,
sizeof(T));
static int write(off_t offset, const T &value)
Definition: Mmap.h:45
static int read(off_t offset, T &value)
Definition: Mmap.h:29
void * map(off_t offset, size_t size)