[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Communications Technical Reference, Volume 2

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.

Parameters

bp Specifies which message block to unlink.

Implementation Specifics

This utility is part of STREAMS Kernel Extensions.

Related Information

The linkb utility.

List of Streams Programming References and Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]