[Overview][Constants][Types][Procedures and functions][Index] |
Return message queue ID, possibly creating the queue
Source position: ipc.pp line 644
function msgget( |
key: TKey; |
msgflg: cint |
):cint; |
msgget returns the ID of the message queue described by key. Depending on the flags in msgflg, a new queue is created.
msgflg can have one or more of the following values (combined by ORs):
Optionally, the flags can be ORed with a permission mode, which is the same mode that can be used in the file system.
For an example, see msgctl.
On error, -1 is returned, and IPCError is set.
|
Create token from filename |
|
|
Send a message to the messague queue |
|
|
Retrieve a message from the queue |
|
|
Perform various operations on a message queue |