Index Index for
Section 9r
Index Alphabetical
listing for U
Bottom of page Bottom of
page

unlinkb(9r)

NAME

unlinkb - STREAMS: Removes a message block from the head of a message

SYNOPSIS

#include <sys/stream.h> MBLKP unlinkb( MBLKP message_ptr );

ARGUMENTS

message_ptr Specifies a pointer to the message block from which the first message block is to be removed. The typedef MBLKP is an alternate name for typedef struct msgb *.

DESCRIPTION

The unlinkb interface removes the first message block from the message block pointed to by the message_ptr argument. The interface returns a pointer to the new message block, minus the removed message block.

RETURN VALUES

Upon successful completion, unlinkb returns a pointer to the new message block with the first message block removed. If there is only one message block in the specified message block, unlinkb returns NULL.

SEE ALSO

Kernel Interfaces: linkb(9r)

Index Index for
Section 9r
Index Alphabetical
listing for U
Top of page Top of
page