I_GETBAND streamio Operation

Purpose

Gets the band of the first message on the stream-head read queue.

Description

The I_GETBAND operation returns the priority band of the first message on the stream-head read queue in the integer referenced by the arg parameter.

This operation is part of STREAMS Kernel Extensions.

Error Codes

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

Value Description
ENODATA No message is on the stream-head read queue.