Extended signals
To enable a process to obtain the band and event
associated with ``SIGPOLL'' more readily,
STREAMS supports extended signals.
For the given events, a special code is defined in <siginfo.h> that
describes the reason ``SIGPOLL'' was generated.
``siginfo_t data available to the signal handler''
describes the data available in the siginfo_t structure
passed to the signal handler.
siginfo_t data available to the signal handler
Event
|
si_signo
|
si_code
|
si_band
|
si_errno
|
S_INPUT
|
SIGPOLL
|
POLL_IN
|
band readable
|
unused
|
S_OUTPUT
|
SIGPOLL
|
POLL_OUT
|
band writable
|
unused
|
S_MSG
|
SIGPOLL
|
POLL_MSG
|
band signaled
|
unused
|
S_ERROR
|
SIGPOLL
|
POLL_ERR
|
unused
|
Stream error
|
S_HANGUP
|
SIGPOLL
|
POLL_HUP
|
unused
|
unused
|
S_HIPRI
|
SIGPOLL
|
POLL_PRI
|
unused
|
unused
|
Next topic:
STREAMS input/output multiplexing
Previous topic:
Signals
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004