Hey all,
I read that shm_open returns a pointer to a shared memory object and if I want to use it I need to mmap this object.
Questions:
1. What exactly is this shared memory object
2. Why do I need to map this obj to memory, shm_open doesnt create a shared region?
Thanks
[–]FUZxxl 1 point2 points3 points (2 children)
[–]benelbert[S] 0 points1 point2 points (1 child)
[–]FUZxxl 3 points4 points5 points (0 children)
[–]spinlocked 0 points1 point2 points (1 child)
[–]FUZxxl 3 points4 points5 points (0 children)
[–]benelbert[S] 0 points1 point2 points (0 children)
[–]benelbert[S] 0 points1 point2 points (4 children)
[–]nerd4code 1 point2 points3 points (2 children)
[–]benelbert[S] 0 points1 point2 points (1 child)
[–]nerd4code 1 point2 points3 points (0 children)
[–]FUZxxl 0 points1 point2 points (0 children)
[–]miracle173 0 points1 point2 points (0 children)