I_GETSIG streamio Operation

Purpose

Returns the events for which the calling process is currently registered to be sent a SIGPOLL signal.

Description

The I_GETSIG operation returns the events for which the calling process is currently registered to be sent a SIGPOLL signal. The events are returned as a bitmask pointed to by the arg parameter, where the events are those specified in the description of the I_SETSIG operation.

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 Process not registered to receive the SIGPOLL signal.
EFAULT The arg parameter points outside the allocated address space.