memorymap.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_MEMORYMAP_H
#define RUDIMENTS_MEMORYMAP_H
#include <rudiments/private/memorymapincludes.h>
class RUDIMENTS_DLLSPEC memorymap {
public:
memorymap();
~memorymap();
bool attach(int32_t fd, off64_t offset, size_t size,
int32_t protection, int32_t flags);
bool detach();
void *getData();
size_t getSize();
bool sync(bool immediate, bool invalidate);
bool sync(off64_t offset, size_t size,
bool immediate, bool invalidate);
static bool supported();
#include <rudiments/private/memorymap.h>
};
#endif
memorymap
Definition: memorymap.h:11
memorymap::attach
bool attach(int32_t fd, off64_t offset, size_t size, int32_t protection, int32_t flags)
memorymap::sync
bool sync(off64_t offset, size_t size, bool immediate, bool invalidate)
memorymap::~memorymap
~memorymap()
memorymap::supported
static bool supported()
memorymap::sync
bool sync(bool immediate, bool invalidate)
memorymap::detach
bool detach()
memorymap::memorymap
memorymap()
memorymap::getSize
size_t getSize()
memorymap::getData
void * getData()