linkb(9r)linkb(9r)NAMElinkb - STREAMS: Concatenates two message blocks
SYNOPSIS
#include <sys/stream.h>
void linkb(
MBLKP message,
MBLKP message_to_be_added );
ARGUMENTS
Specifies the message to which the message in message_to_be_added is to
be added. The typedef MBLKP is an alternate name for typedef struct
msgb *. Specifies the message to be added. The typedef MBLKP is an
alternate name for typedef struct msgb *.
DESCRIPTION
The linkb interface creates a new message by adding the message speciā
fied in the message_to_be_added argument to the tail of the message
specified in the message argument. The continuation pointer (the b_cont
member of the msgb structure) of the first message is set to point to
the second message (the message_to_be_added argument).
RETURN VALUES
None
SEE ALSO
Kernel Interfaces: unlinkb(9r)
Programmer's Guide: STREAMS
linkb(9r)