mblk_t *
dupmsg(bp)
register mblk_t * bp;
The dupmsg utility calls the dupb utility to duplicate the message pointed to by the bp parameter by copying all individual message block descriptors and then linking the new message blocks to form the new message. The dupmsg utility does not copy data buffers, only message-block descriptors.
bp | Specifies the message to be copied. |
On successful completion, the dupmsg utility returns a pointer to the new message. Otherwise, it returns a null pointer.
This utility is part of STREAMS Kernel Extensions.
The dupb utility.
List of Streams Programming References and Understanding STREAMS Messages in AIX 5L Version 5.1 Communications Programming Concepts.