Same on HP-UX 10. If the mmap() is done before the fork, the region
is shared among processes. So it's close to shm.
The man page specifies:
If MAP_ANONYMOUS is set in flags:
+ A new memory region is created and initialized to all
zeros.
This memory region can be shared only with descendants
of the current process.
...
Michael
-- Michael Marxmeier Marxmeier Software GmbH E-Mail: mike@msede.com Suedstrasse 58 Voice : +49 202 2431440 42119 Wuppertal, Germany Fax : +49 202 2431420 http://www.msede.com/