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

Technical Reference: Communications, 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 5L Version 5.1 Communications Programming Concepts.


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