Query: dupmsg
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
dupmsg(9F) Kernel Functions for Drivers dupmsg(9F)NAMEdupmsg - duplicate a messageSYNOPSIS#include <sys/stream.h> mblk_t *dupmsg(mblk_t *mp);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSmp Pointer to the message.DESCRIPTIONdupmsg() forms a new message by copying the message block descriptors pointed to by mp and linking them. dupb(9F) is called for each mes- sage block. The data blocks themselves are not duplicated.RETURN VALUESIf successful, dupmsg() returns a pointer to the new message block. Otherwise, it returns a NULL pointer. A return value of NULL indi- cates either memory depletion or the data block reference count, db_ref (see datab(9S)), has reached a limit(255). See dupb(9F).CONTEXTdupmsg() can be called from user, kernel, or interrupt context.EXAMPLESExample 1 Using dupmsg() See copyb(9F) for an example using dupmsg().SEE ALSOcopyb(9F), copymsg(9F), dupb(9F), datab(9S) Writing Device Drivers STREAMS Programming Guide SunOS 5.11 11 Apr 1991 dupmsg(9F)
Related Man Pages |
---|
copyb(9f) - sunos |
dupmsg(9f) - sunos |
copyb(9f) - centos |
copyb(9f) - redhat |
dupmsg(9f) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Trying to block signal |
solaris zones vs container.. |
Free Sun Blade 2k, Ultra 2, Ross Hyperstation 30, cards, memory- Baltimore, MD |
What is good? |
Shopt -s histappend |