When I looked through the man pages of shmat
. It is described as the primitive function of the API is to attach the memory segment associated wih shmid
it to the calling process' address space .
The questions I have are the following.
- The term attach looks generic to me. I find difficulties in understanding what is the underlying acivity that attach refers to.?
- What it means by mapping a segment of memory?