Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ freemsg(9F) — SunOS 5.2

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);

ARGUMENTS

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

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI). 

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)

SunOS 5.1 Writing Device Drivers
SunOS 5.1 STREAMS Programmer’s Guide

SunOS 5.2  —  Last change: 11 Apr 1991

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