[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, 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 Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]