#include <sys/stream.h>void linkb(mblk_t *mp1, mblk_t *mp2);
Architecture independent level 1 (DDI/DKI).
The message to which mp2 is to be added. mblk_t is an instance of the msgb(9S) structure.
The message to be added.
linkb() creates a new message by adding mp2 to the tail of mp1. The continuation pointer, b_cont, of mp1 is set to point to mp2.
linkb() can be called from user or interrupt context.
See dupb(9F) for an example of using linkb().