(f96a17225f088a5790655c01eaab9578c81a19f2)
Go to the source code of this file.
|
static int | qt_poll_prepare (struct pollfd *fds, nfds_t nfds, fd_set *read_fds, fd_set *write_fds, fd_set *except_fds) |
static void | qt_poll_examine_ready_read (struct pollfd &pfd) |
static int | qt_poll_sweep (struct pollfd *fds, nfds_t nfds, fd_set *read_fds, fd_set *write_fds, fd_set *except_fds) |
static bool | qt_poll_is_bad_fd (int fd) |
static int | qt_poll_mark_bad_fds (struct pollfd *fds, const nfds_t nfds) |
int | qt_poll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts) |
◆ QT_POLL_ERROR_MASK
#define QT_POLL_ERROR_MASK (POLLERR | POLLNVAL) |
◆ QT_POLL_EVENTS_MASK
◆ QT_POLL_EXCEPT_MASK
#define QT_POLL_EXCEPT_MASK (POLLPRI | POLLRDBAND) |
◆ QT_POLL_READ_MASK
#define QT_POLL_READ_MASK (POLLIN | POLLRDNORM) |
◆ QT_POLL_WRITE_MASK
#define QT_POLL_WRITE_MASK (POLLOUT | POLLWRNORM | POLLWRBAND) |
◆ qt_poll()
int qt_poll |
( |
struct pollfd * | fds, |
|
|
nfds_t | nfds, |
|
|
const struct timespec * | timeout_ts ) |
◆ qt_poll_examine_ready_read()
void qt_poll_examine_ready_read |
( |
struct pollfd & | pfd | ) |
|
|
inlinestatic |
◆ qt_poll_is_bad_fd()
bool qt_poll_is_bad_fd |
( |
int | fd | ) |
|
|
inlinestatic |
◆ qt_poll_mark_bad_fds()
int qt_poll_mark_bad_fds |
( |
struct pollfd * | fds, |
|
|
const nfds_t | nfds ) |
|
inlinestatic |
◆ qt_poll_prepare()
int qt_poll_prepare |
( |
struct pollfd * | fds, |
|
|
nfds_t | nfds, |
|
|
fd_set * | read_fds, |
|
|
fd_set * | write_fds, |
|
|
fd_set * | except_fds ) |
|
inlinestatic |
◆ qt_poll_sweep()
int qt_poll_sweep |
( |
struct pollfd * | fds, |
|
|
nfds_t | nfds, |
|
|
fd_set * | read_fds, |
|
|
fd_set * | write_fds, |
|
|
fd_set * | except_fds ) |
|
inlinestatic |