Removes a message block from the head of a message.
mblk_t *
unlinkb(bp)
register mblk_t * bp;
The unlinkb utility removes the first message block pointed to by the bp parameter and returns a pointer to the head of the resulting message. The unlinkb utility returns a null pointer if there are no more message blocks in the message.
This utility is part of STREAMS Kernel Extensions.
Item | Description |
---|---|
bp | Specifies which message block to unlink. |