module
Termisu::System::Readiness
Overview
poll(2) compatibility for Darwin devices such as /dev/tty. Only readiness is observed: neither select(2) nor this adapter reads input or changes fd flags.
Defined in:
termisu/system/readiness.crClass Method Summary
- .poll(fds : Pointer(Poll::Pollfd), count : Poll::NfdsT, timeout_ms : Int32) : Int32
-
.select_poll(fds : Pointer(Poll::Pollfd), count : Poll::NfdsT, timeout_ms : Int32) : Int32
Also exercised directly on other Unix hosts, without emulating Darwin's ABI.
Class Method Detail
def self.poll(fds : Pointer(Poll::Pollfd), count : Poll::NfdsT, timeout_ms : Int32) : Int32
#
def self.select_poll(fds : Pointer(Poll::Pollfd), count : Poll::NfdsT, timeout_ms : Int32) : Int32
#
Also exercised directly on other Unix hosts, without emulating Darwin's ABI.