Search code examples
c++stlfreebsdmemory-mapped-files

Does FreeBSD support memory mapped files?


I am using a FreeBSD OS, I want to write into a file which is on the disk, but, it will take a lot of time, so, I was suggested to use Memory mapped file. But, I am in a dilemma whether FreeBSD supports it or no???.. Please, somebody can guide me??.. I am programming in C++.


Solution

  • Yes, FreeBSD has memory mapped files. No, the STL does not include any special support for them. Consider using Boost.