Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
TTY::PollFd
Inherits
Struct
<
Value
<
Object
Constructors
new
(fd :
Int32
, events :
Int16
, revents :
Int16
= 0_i16)
Source
watch
(fd :
Descriptor
, events :
IOEvent
) :
PollFd
Source
Instance methods
error?
Source
events
Source
events=
(events :
Int16
)
Source
fd
Source
fd=
(fd :
Int32
)
Source
hangup?
Source
invalid?
Source
priority?
Source
readable?
Source
revents
Source
revents=
(revents :
Int16
)
Source
writable?
Source