shared memory in BSD 4.2

stevens at anl-mcs.arpa stevens at anl-mcs.arpa
Tue Feb 3 09:49:02 AEST 1987


Does anyone know how to map memory from two processes ( child and parent)
to refer to the same virtual addresses ?  (i.e I want to have two or more
processes share the same dynamically allocated memory).

I have tracked down mmap and munmap but cannot figure out how to get the
file descriptor of my own core image to pass to mmap.

Rick Stevens
Mathematics and Computer Science Div.
Argonne National Lab.
stevens at anl-mcs.arpa
(312) 972-3378



More information about the Comp.unix.wizards mailing list