.TH linkb() "" "" "DDI/DKI Kernel Routine"
.PC "Concatenate two message blocks"
.B "#include <sys/stream.h>"
\fBvoid linkb(\fIfirst\^\fB, \fIsecond\^\fB)\fR
\fBmblk_t *\fIfirst\^\fB, *\fIsecond\^\fB;\fR
.PP
.B linkb()
concatenates the message
.I second
onto message
.IR first .
It sets field
.B b_cont
within
.I first
to point to
.IR second .
.SH "See Also"
.B
DDI/DKI kernel routines,
msgb,
unlinkb()
.R
.SH Notes
.B linkb()
has base or interrupt level.
It does not sleep.
.PP
A driver can hold a
driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
