From: Tor L. <tm...@ik...> - 2006-09-29 11:10:59
|
Robert Riebisch writes: > How can I use memory mapped I/O in MinGW? You don't do it "in MinGW", you do it in Windows, using the Win32 API. Look up the documentation for CreateFileMapping, MapViewOfFile, UnmapViewOfFile and CloseHandle. To get the HANDLE for a C library file descriptor, use _get_osfhandle. > I.e., where is mmap for MinGW? Nowhere (as far as I know), nor should it be. MinGW is not Unix emulation. --tml |