DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

linkb(D3str)


linkb -- concatenate two message blocks

Synopsis

   #include <sys/stream.h>
   #include <sys/ddi.h>
   

void linkb(mblk_t *mp1, mblk_t *mp2);

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.

Arguments


mp1
Pointer to the message to which mp2 is to be added.

mp2
Pointer to the message to be added.

Return values

None.

Usage

Context

Base or Interrupt.

Synchronization constraints

Does not block.

Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function.

Hardware applicability

All

Version applicability

ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
oddi: 1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp

References

msgb(D4str), unlinkb(D3str)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005