pub fn epoll_ctl( self: *IoUring, user_data: u64, epfd: linux.fd_t, fd: linux.fd_t, op: u32, ev: ?*linux.epoll_event, ) !*linux.io_uring_sqe
Queues (but does not submit) an SQE to perform a epoll_ctl(2). Returns a pointer to the SQE.
epoll_ctl(2)
self: *IoUring
user_data: u64
epfd: linux.fd_t
fd: linux.fd_t
op: u32
ev: ?*linux.epoll_event
602 603 604 605 606 607 608 609 610 611 612 613 614
pub fn epoll_ctl( self: *IoUring, user_data: u64, epfd: linux.fd_t, fd: linux.fd_t, op: u32, ev: ?*linux.epoll_event, ) !*linux.io_uring_sqe { const sqe = try self.get_sqe(); sqe.prep_epoll_ctl(epfd, fd, op, ev); sqe.user_data = user_data; return sqe; }
Queues (but does not submit) an SQE to perform a
epoll_ctl(2). Returns a pointer to the SQE.