| Previous | Next
IPC::MsgSystem V Msg IPC object class. Uses constants defined in IPC::SysV.
$msg = new IPC::Msg(key, flags) Creates a new message queue associated with
$msg->id Returns the system identifier for the message queue.
$msg->rcv(buf, len[, type[, flags]]) Reads a message from the queue, returning the type of the message.
$msg->remove Removes and destroys the message queue.
Accepts either a stat object as returned by the uid gid mode (the permission bits) qbytes
$msg->snd(type, msg[, flags]) Puts a message of type type on the queue with the data from
$ds = $msg->stat Returns an object of type IPC::Msg::stat (which is a subclass of Class::Struct) that provides the following fields: uid gid cuid cgid mode qnum qbytes lspid lrpid stime rtime ctime See the |