- CreateFile(); or OpenFile();
- CreateFileMapping();
- MapViewOfFile();
mmap()
combines the functions of CreateFileMapping()
and MapViewOfFile()
References
[1] https://stackoverflow.com/questions/8391094/equivalent-win-api-in-nix
[2] http://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html
[3] mmap example https://gist.github.com/marcetcheverry/991042
No comments:
Post a Comment