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

I_FIND streamio Operation

Purpose

Compares the names of all modules currently present in the stream to a specified name.

Description

The I_FIND operation compares the names of all modules currently present in the stream to the name pointed to by the arg parameter, and returns a value of 1 if the named module is present in the stream. It returns a value of 0 if the named module is not present.

Error Codes

If unsuccessful, the errno global variable is set to one of the following values:

EFAULT The arg parameter points outside the allocated address space.
EINVAL The arg parameter does not contain a valid module name.

Implementation Specifics

This operation is part of STREAMS Kernel Extensions.

Related Information

The streamio operations.

Understanding STREAMS Drivers and Modules in AIX Version 4.3 Communications Programming Concepts.


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