hi
I had to create a shared memory segment which allows the creation of 8 child processes each with 1024 bytes and contains a common buffer area of 2096bytes.
i was able to create the shared memory with shm_open() followed by ftruncate() and mmap() system calls.
but for the shared buffer, i guess i have to create a buffer and allocate the specified size but the problem is am nt too sure how to map it in the shared memory.
and as for the child processes, this will require the fork() system call but sometimes it says child process and dynamically child process (i.e created as and when required)
can you guide plz and if possible any links for developing shared memory application(POSIX and not SYSTEM V).
Thxs
Looking forward to your reply