[ Bottom of Page | Previous Page | Next Page | 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.

This utility is part of STREAMS Kernel Extensions.

Parameters

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

Related Information

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

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