#include <sys/stream.h>
Architecture independent level 1 (DDI/DKI).
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(mp1, mp2);
linkb() can be called from user or interrupt context.
See dupb(9F) for an example of using linkb().
dupb(9F), unlinkb(9F), msgb(9S)
Writing Device Drivers
STREAMS Programming Guide