The device number for the device to be polled.
The events that may occur. Valid events are:
POLLIN
Data other than high priority data may be read without blocking.
POLLOUT
Normal data may be written without blocking.
POLLPRI
High priority data may be received without blocking.
POLLHUP
A device hangup has occurred.
POLLERR
An error has occurred on the device.
POLLRDNORM
Normal data (priority band = 0) may be read without blocking.
POLLRDBAND
Data from a non-zero priority band may be read without blocking
POLLWRNORM
The same as POLLOUT.
POLLWRBAND
Priority data (priority band > 0) may be written.
POLLET
The desired event is to be edge-triggered; calls to pollwakeup(9F) should not be suppressed, even if the event is pending at the time of call to the chpoll() function.
A pointer to a bitmask of the returned events satisfied.