use the standard module IPC::SysV
to access the message- and semaphore-specific operation names.
Calls msgctl. If cmd is IPC_STAT
then args must be a scalar variable.
Creates a message queue for key. Returns the message queue identifier.
Receives a message from queue id into $var.
Calls semctl. If cmd is IPC_STAT
or GETALL
then arg must be a scalar variable.
Creates a set of semaphores for key. Returns the message semaphore identifier.
Performs semaphore operations.
Calls shmctl. If cmd is IPC_STAT
then arg must be a scalar variable.
Creates shared memory. Returns the shared memory segment identifier.
$
var, pos, sizeReads at most size bytes of the contents of shared memory segment id starting at offset pos into $var.
Writes at most size bytes of string into the contents of shared memory segment id at offset pos.