freemsg(D3)
freemsg - free a message
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME freemsg - free a message SYNOPSIS #include <sys/stream.h> #include <sys/ddi.h> void freemsg(mblk_t *mp); Arguments mp Pointer to the message to be deallocated. DESCRIPTION freemsg frees all message blocks, data blocks, and data buffers associated with the message pointed to by mp. freemsg walks down the b_cont list [see msgb(D4)], calling freeb(D3) for every message block in the message. Return Values None USAGE Level Base or Interrupt. Synchronization Constraints Does not sleep. Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. Examples See copymsg(D3) for an example of freemsg. REFERENCES freeb(D3), msgb(D4)