[Overview][Constants][Types][Procedures and functions] | Reference for unit 'ipc' (#rtl) |
Retrieve a message from the queue
Source position: ipc.pp line 306
function msgrcv( |
msqid: cint; |
msgp: PMSGbuf; |
msgsz: size_t; |
msgtyp: cint; |
msgflg: cint |
):cint; |
msgrcv retrieves a message of type msgtyp from the message queue with ID msqid. msgtyp corresponds to the mtype field of the TMSGbuf record. The message is stored in the MSGbuf structure pointed to by msgp.
The msgflg parameter can be used to control the behaviour of the msgrcv call. It consists of an ORed combination of the following flags:
The function returns True if the message was received correctly, False otherwise.
For an example, see msgctl.
In case of error, False is returned, and IPCerror is set.
|
Return message queue ID, possibly creating the queue |
|
|
Send a message to the messague queue |
|
|
Perform various operations on a message queue |
No notes exist for this page yet.