On 05/01/2019 10:36, Lev Olshvang
wrote:
Since I knew that mmap needs file descriptor I assumed ( and did not checked man page) that munmap need file descriptor. That's not true either, actually. Mmap absolutely does not need a file descriptor. It only needs one if you want it to be a memory mapping of a file.
Shachar |
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il