.TH pullupmsg() "" "" "DDI/DKI Kernel Routine"
.PC "Concatenate bytes in a message"
.B "#include <sys/stream.h>"
\fBint pullupmsg(\fImessage\^\fB, \fIbytes\^\fB)\fR
\fBmblk_t *\fImessage\^\fB; int \fIbytes\^\fB;\fR
.PP
.B pullupmsg()
concatenates and aligns the first
.I bytes
of
.IR message.
If
.I bytes
equals \-1, it concatenates all data.
If it cannot find
.I bytes
of the same message type, it fails and returns zero;
otherwise, it returns the number of characters concatenated.
.SH "See Also"
.B
allocb(),
DDI/DKI kernel routines,
msgpullup()
.R
.SH Notes
.B pullupmsg()
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 calls to this function.
.PP
This function is provided for compatibility with obsolete versions of the
DDI/DKI.
You should instead use the function
.BR msgpullup() .
