question about share memory

I work under Qnx4.25.I have several questions.
1¡¢I work under node2.First I use qnx_name_attach(1,"/pid2")
successfully,second I use
qnx_name_locate(1,"/pid2") it return -1.

2¡¢I use shm_open() function to create a shared memory object ,How can
I use the memory at another node?

“summer” <gpjin@nairc.ac.cn> wrote in news:a5f8qr$cc4$1@inn.qnx.com:

I work under Qnx4.25.I have several questions.
1¡¢I work under node2.First I use qnx_name_attach(1,"/pid2")
successfully,second I use
qnx_name_locate(1,"/pid2") it return -1.

What does errno report?

2¡¢I use shm_open() function to create a shared memory object ,How
can
I use the memory at another node?

It can’t be used network wide - there is a technote under
/etc/readme/technotes/shmem.txt (also referenced in the helpview for
shm_open)

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>