| io_uring_prep_poll_update(3) | liburing Manual | io_uring_prep_poll_update(3) |
io_uring_prep_poll_update - update an existing poll request
#include <poll.h> #include <liburing.h>
void io_uring_prep_poll_update(struct io_uring_sqe *sqe,
__u64 old_user_data,
__u64 new_user_data,
unsigned poll_mask,
unsigned flags);
The io_uring_prep_poll_update(3) function prepares a poll update request. The submission queue entry sqe is setup to update a poll request identified by old_user_data, replacing it with the new_user_data information. The poll_mask arguments contains the new mask to use for the poll request, and flags argument contains modifier flags telling io_uring what fields to update.
The flags modifier flags is a bitmask and may contain and OR'ed mask of:
None
These are the errors that are reported in the CQE res field. On success, 0 is returned.
io_uring_get_sqe(3), io_uring_submit(3), io_uring_prep_poll_add(3), io_uring_prep_poll_multishot(3)
| March 12, 2022 | liburing-2.2 |