freemsg - free all message blocks in a message
#include <sys/stream.h> void freemsg(mblk_t *mp);
Architecture independent level 1 (DDI/DKI).
mp
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.
Example 1 Using freemsg()
See copymsg(9F).
copymsg(9F), freeb(9F), msgb(9S)
Writing Device Drivers
The behavior of freemsg() when passed a NULL pointer is Solaris-specific.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |