Index Index for
Section 9r
Index Alphabetical
listing for L
Bottom of page Bottom of
page

linkb(9r)

NAME

linkb - STREAMS: Concatenates two message blocks

SYNOPSIS

#include <sys/stream.h> void linkb( MBLKP message, MBLKP message_to_be_added );

ARGUMENTS

message 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 *. message_to_be_added 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 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).

RETURN VALUES

None

SEE ALSO

Kernel Interfaces: unlinkb(9r) Programmer's Guide: STREAMS

Index Index for
Section 9r
Index Alphabetical
listing for L
Top of page Top of
page