Foundation
Loading...
Searching...
No Matches
Namespaces | Functions
MmapPosix.cpp File Reference
#include "Mmap.hpp"
#include <Core/Logging.hpp>
#include <cerrno>
#include <cstring>
#include <fcntl.h>
#include <limits>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>

Namespaces

namespace  Foundation
 
namespace  Foundation::Platform
 

Functions

void Foundation::Platform::MmapOpen (MmapState &state, Core::StringView path, MmapAccess access)
 
void Foundation::Platform::MmapCreate (MmapState &state, Core::StringView path, uint64_t size)
 
void Foundation::Platform::MmapOpenOrCreate (MmapState &state, Core::StringView path, uint64_t size)
 
void Foundation::Platform::MmapResize (MmapState &state, uint64_t size)
 
void Foundation::Platform::MmapFlush (MmapState const &state, uint64_t offset, uint64_t size)
 
void Foundation::Platform::MmapClose (MmapState &state) noexcept
 
bool Foundation::Platform::MmapIsOpen (MmapState const &state) noexcept