Use the buffer allocated by mmap
Check for error after mmap