[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, 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 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]