[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    freemsg(9F) manual page Table of Contents

Name

freemsg - free all message blocks in a message

Synopsis


#include <sys/stream.h>

void freemsg(mblk_t *mp);

Interface Level

Architecture independent level 1 (DDI/DKI).

Arguments

mp
Pointer to the message blocks to be deallocated. mblk_t is an instance of the msgb(9S) structure.

Description

freemsg() calls freeb(9F) to free all message and data blocks associated with the message pointed to by mp.

Context

freemsg() can be called from user or interrupt context.

Example

See copymsg(9F) .

See Also

copymsg(9F) , freeb(9F) , msgb(9S)



Table of Contents