How to create a POSIX shared memory for integer variable?
How to create a POSIX shared memory for integer variable?
I want to initialize a counter variable. Counter = 0. But this counter should be a pointer variable to attach to the shared memory.So how do I initialize this?
Show the code you've written so far and specify what part you're having trouble with.