Removes a message from a queue.
void rmvq (q, mp) register queue_t *q; register mblk_t *mp;
Attention: If the mp parameter does not point to a message that is present on the specified queue, a system panic could result.
The rmvq utility removes the message pointed to by the mp parameter from the message queue pointed to by the q parameter, and then restores the linkage of the messages remaining on the queue.
|q||Specifies the queue from which to remove the message.|
|mp||Specifies the message to be removed.|
This utility is part of STREAMS Kernel Extensions.
List of Streams Programming References, Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.