Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

freeb(9F)

msgb(9S)

freemsg(9F)

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

freeb(9F), msgb(9S)

Writing Device Drivers
STREAMS Programming Guide

SunOS 5.5/SPARC  —  Last change: 11 Apr 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026