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

Technical Reference: Communications, Volume 2

I_CANPUT streamio Operation

Purpose

Checks if a given band is writable.

Description

The I_CANPUT operation checks a given priority band to see if it can be written on. The arg parameter contains the priority band to be checked.

Return Values

The return value is set to one of the following:

Value Description
0 The band is flow controlled.
1 The band is writable.
-1 An error occurred.

Error Codes

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

Value Description
EINVAL The value in the arg parameter is invalid.

Related Information

The streamio operations.

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

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