I_POP streamio Operation

Purpose

Removes the module just below the stream head.

Description

The I_POP operation removes the module just below the stream head of the stream pointed to by the fildes parameter. The value of the arg parameter should be 0 in an I_POP request.

This operation is part of STREAMS Kernel Extensions.

Error Codes

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

Value Description
EINVAL No module is present in the stream.
ENXIO Hangup received on the fildes parameter.