Module poll
nix
0.29.0
Module poll
Module Items
Structs
Functions
In crate nix
Modules
errno
fcntl
features
poll
pty
sys
unistd
Macros
cmsg_space
ioctl_none
ioctl_none_bad
ioctl_read
ioctl_read_bad
ioctl_read_buf
ioctl_readwrite
ioctl_readwrite_bad
ioctl_readwrite_buf
ioctl_write_buf
ioctl_write_int
ioctl_write_int_bad
ioctl_write_ptr
ioctl_write_ptr_bad
request_code_none
request_code_read
request_code_readwrite
request_code_write
Traits
NixPath
Type Aliases
Error
Result
nix
Module
poll
Copy item path
Settings
Help
Summary
Source
Expand description
Wait for events to trigger on specific file descriptors
Structs
§
PollFd
This is a wrapper around
libc::pollfd
.
Poll
Flags
These flags define the different events that can be monitored by
poll
and
ppoll
Poll
Timeout
PollTimeout argument for polling.
Functions
§
poll
poll
waits for one of a set of file descriptors to become ready to perform I/O. (
poll(2)
)
ppoll
ppoll()
allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught. (
poll(2)
)