Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!att!ucbvax!taurus.BITNET!flibedin From: flibedin@taurus.BITNET Newsgroups: comp.unix.wizards Subject: Pointers in Shared Memory Keywords: pointers, shared memory Message-ID: <2417@taurus.BITNET> Date: 14 Apr 91 10:52:18 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Organization: Tel-Aviv Univesity Math and CS school, Israel Lines: 16 I have some doubts concerning the use of pointers inside shared memory obtained with SysV IPC functions. My intention is to have a linked list in shared memory. For that I run a test program that showed me that is not possible to store a pointer obtained from malloc in shared memory, also I saw that is not possible to store pointers to the user address space. However, it is possible to store pointers INSIDE the shared memory, and also to another shared memory segment. Someone there has experience or comments on a problem like this one? Fernando Libedinsky Tel-Aviv University flibedin@math.tau.ac.il