unlinkb Utility

Purpose

Removes a message block from the head of a message.

Syntax

mblk_t *
unlinkb(bp)
register mblk_t * bp;

Description

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.

Parameters

Item Description
bp Specifies which message block to unlink.