IPC::SharedMem(3p) Perl Programmers Reference Guide IPC::SharedMem(3p)
IPC::SharedMem(3p) Perl Programmers Reference Guide IPC::SharedMem(3p) # IPC::SharedMem(3p) Perl Programmers Reference Guide IPC::SharedMem(3p) NNAAMMEE # IPC::SharedMem - SysV Shared Memory IPC object class SSYYNNOOPPSSIISS # use IPC::SysV qw(IPC_PRIVATE S_IRUSR S_IWUSR); use IPC::SharedMem; $shm = IPC::SharedMem->new(IPC_PRIVATE, 8, S_IRWXU); $shm->write(pack("S", 4711), 2, 2); $data = $shm->read(0, 2); $ds = $shm->stat; $shm->remove; DDEESSCCRRIIPPTTIIOONN # A class providing an object based interface to SysV IPC shared memory. MMEETTHHOODDSS # new ( KEY , SIZE , FLAGS ) Creates a new shared memory segment of "SIZE" bytes size associated with "KEY". ...