Expose the fallback mmap implementation as mono_file_(un)map_fileio so that it can...
[mono.git] / mono / utils / mono-mmap.h
index 7eb67d6a88d83c73e6913b7b269e257ef84b0735..36997e074890904f61ed03cfb79fa8f2f43d7363 100644 (file)
@@ -35,6 +35,10 @@ void* mono_valloc_aligned (size_t length, size_t alignment, int flags);
 int   mono_vfree      (void *addr, size_t length);
 void* mono_file_map   (size_t length, int flags, int fd, guint64 offset, void **ret_handle);
 int   mono_file_unmap (void *addr, void *handle);
+#ifndef HOST_WIN32
+void* mono_file_map_fileio   (size_t length, int flags, int fd, guint64 offset, void **ret_handle);
+int   mono_file_unmap_fileio (void *addr, void *handle);
+#endif
 int   mono_mprotect   (void *addr, size_t length, int flags);
 
 void* mono_shared_area         (void);