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

Technical Reference: Communications, Volume 2


I_PUSH streamio Operation

Purpose

Pushes a module onto the top of the current stream.

Description

The I_PUSH operation pushes the module whose name is pointed to by the arg parameter onto the top of the current stream, just below the stream head. It then calls the open routine of the newly-pushed module.

Error Codes

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

EINVAL Incorrect module name.
EFAULT The arg parameter points outside the allocated address space.
ENXIO Open routine of new module failed.
ENXIO Hangup received on the fildes parameter.

Implementation Specifics

This operation is part of STREAMS Kernel Extensions.

Related Information

The autopush command.

The streamio operations.

The I_FIND streamio operation, I_LIST streamio operation, I_LOOK streamio operation, I_POP streamio operation.

Building STREAMS in AIX 5L Version 5.1 Communications Programming Concepts.


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