MCPcopy Create free account
hub / github.com/apache/arrow / munmap

Function munmap

cpp/src/arrow/io/mman.h:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static inline int munmap(void* addr, size_t len) {
129 if (UnmapViewOfFile(addr)) return 0;
130
131 errno = __map_mman_error(GetLastError(), EPERM);
132
133 return -1;
134}
135
136static inline int mprotect(void* addr, size_t len, int prot) {
137 DWORD newProtect = __map_mmap_prot_page(prot);

Callers 2

~RegionMethod · 0.85
MemoryMapRemapFunction · 0.85

Calls 1

__map_mman_errorFunction · 0.85

Tested by

no test coverage detected