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
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005