|FREEMSG(9F)||Kernel Functions for Drivers||FREEMSG(9F)|
#include <sys/stream.h> void freemsg(mblk_t *mp);
Architecture independent level 1 (DDI/DKI).
The freemsg() function calls freeb(9F) to free all message and data blocks associated with the message pointed to by mp.
The freemsg() function can be called from user, interrupt, or kernel context.
Writing Device Drivers
STREAMS Programming Guide
The behavior of freemsg() when passed a NULL pointer is Solaris-specific.
|January 16, 2006||OmniOS|