[Overview][Constants][Types][Procedures and functions] | Reference for unit 'ipc' (#rtl) |
Return message queue ID, possibly creating the queue
Source position: ipc.pp line 304
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 |
No notes exist for this page yet.