freemsg Utility

Purpose

Frees all message blocks in a message.

Syntax

void freemsg(bp)
register mblk_t * bp;

Description

The freemsg utility uses the freeb utility to free all message blocks and their corresponding data blocks for the message pointed to by the bp parameter.

This utility is part of STREAMS Kernel Extensions.

Parameters

Item Description
bp Contains a pointer to the message that is to be freed.