I'm studying Linux programming, and I have a question about mmap
.
I'd like to look more detail at a process, by using strace
. i've done with it, and I saw a system call called mmap
. But I couldn't see any flag or other clue whether it was mapped memory for read, for write.
Is there any way to distinguish read or write in mmap
?
I'm using Ubuntu 14.04.
thanks sincerely