Query: mcopymsg
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mcopymsg(9F) Kernel Functions for Drivers mcopymsg(9F)NAMEmcopymsg - Copy message contents into a buffer and free messageSYNOPSIS#include <sys/stream.h> #include <sys/strsun.h> void mcopymsg(mblk_t *mp, void *buf);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSmp Message to be copied. buf Buffer in which to copy.DESCRIPTIONThe mcopymsg() function copies the contents of the specified message into the specified buffer. If the message consists of more than a sin- gle message block, the contents of each message block are placed consecutively into the buffer. After copying the message contents to buf, mcopymsg() frees the message mp. The provided buffer must be large enough to accommodate the message. If the buffer is not large enough, the results are unspecified. The msgsize(9F) function can be used to calculate the total size of the message beforehand.RETURN VALUESNone.CONTEXTThis function can be called from user, kernel or interrupt context.SEE ALSOfreemsg(9F), msgsize(9F) STREAMS Programming Guide SunOS 5.11 16 Oct 2007 mcopymsg(9F)
Related Man Pages |
---|
freemsg(9f) - sunos |
freemsg(9f) - debian |
freemsg(9f) - centos |
freemsg(9f) - opendarwin |
freemsg(9f) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
unix challenged error ? |
Hashmap |
Really strange unix message |