in reply to use ftok to access shared memory
You may be interested in this thread which uses ftok from the module IPC::SysV.
As your code stands it can not possibly work - function calls don't interpolate. open( F, "./ftok $file_shmem 1 |" ); will attempt to open a file called "./ftok /tmp/IPC/shared_memory1 1 |", which is probably not what you expect.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use ftok to access shared memory
by polettix (Vicar) on Feb 15, 2006 at 10:04 UTC | |
by earlati2 (Beadle) on Feb 15, 2006 at 11:00 UTC |