linkb - STREAMS: Concatenates two message blocks
#include <sys/stream.h>
void linkb(
MBLKP message,
MBLKP message_to_be_added );
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 *.
The linkb interface creates a new message by adding the
message specified 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).
None
Kernel Interfaces: unlinkb(9r)
Programmer's Guide: STREAMS
linkb(9r)
[ Back ] |