POSIX P1003.2/D11.2 compliance -- use mmap and make it simple