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

Technical Reference: Communications, Volume 2


I_CKBAND streamio Operation

Purpose

Checks if a message of a particular band is on the stream-head read queue.

Description

The I_CKBAND operation checks to see if a message of a given priority band exists on the stream-head read queue. The arg parameter is an integer containing the value of the priority band being searched for.

The I_CKBAND operation returns a value of 1 if a message of the given band exists. Otherwise, it returns a value of -1.

Error Codes

If unsuccessful, the errno global variable is set to the following value:

EINVAL The value in the arg parameter is not valid.

Implementation Specifics

This operation is part of STREAMS Kernel Extensions.

Related Information

The streamio operations.

Understanding STREAMS Messages in AIX 5L Version 5.1 Communications Programming Concepts.


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