[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 2


rmvq Utility

Purpose

Removes a message from a queue.

Syntax


void rmvq (q, mp)
register queue_t * q;
register mblk_t * mp;

Description

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.

Parameters


q Specifies the queue from which to remove the message.
mp Specifies the message to be removed.

Implementation Specifics

This utility is part of STREAMS Kernel Extensions.

Related Information

List of Streams Programming References, Understanding STREAMS Messages in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]