This module provides a thin wrapper around the Linux library functions
msgget
, msgsnd
, msgrcv
,
and msgctl
.
The module _sysvipc exports the following constants and functions:
Returns the message queue identifier associated with the
value of the key argument.
A new message queue is created if
a) the key value is IPC_PRIVATE, or
b) no message queue with the given key value exists, and
IPC_CREAT is asserted in msgflg.
Upon creation, the low 9 bits of msgflg contain mode bits to
allow access to the queue.
Sends a message on the associated message queue.
Returns a string containing the message sent by a previous msgsnd call.
Removes the associated message queue from the system.
Uses values in value_dict to set data fields for the associated message queue.
Returns a dictionary containing controlling data for the associated message queue.
Flag bits for msgget.
Flag bits for msgsnd and msgrcv.
Special key value used in msgget calls to ???
Specify permission modes in msgflg in calls to msgget.