Hi!
There is Fpmmap function in BaseUnix for POSIX's mmap: https://www.freepascal.org/docs-html/rtl/baseunix/fpmmap.html
I want to mmap a file in writable mode. After some modifications done I should to call POSIX's msync to garantee changes applied to the file: http://pubs.opengroup.org/onlinepubs/000095399/functions/msync.html
But I can't find neither Fpmsync nor msync in fpc rtl.
1. How do I call msync?
2. Is there any reason to not provide msync in BaseUnix?
3. Can I send a patch adding Fpmsync to BaseUnix?
Thanks.
