linkb(D3) linkb(D3)
NAME
linkb - concatenate two message blocks
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void linkb(mblk_t *mp1, mblk_t *mp2);
Arguments
mp1 Pointer to the message to which mp2 is to be added.
mp2 Pointer to the message to be added.
DESCRIPTION
linkb appends the message mp2 to the tail of message mp1. The
continuation pointer (b_cont) of the last message block in the
first message is set to point to the second message:
Return Values
None.
USAGE
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
msgb(D4), unlinkb(D3)
NOTICES
Portability
All processors
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1