[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 2

I_CANPUT streamio Operation


Checks if a given band is writable.


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:

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:

EINVAL The value in the arg parameter is invalid.

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 ]