prepPollAdd

Poll the fd specified in the submission queue entry for the events specified in the poll_events field. Unlike poll or epoll without EPOLLONESHOT, this interface always works in one shot mode. That is, once the poll operation is completed, it will have to be resubmitted.

@trusted nothrow @nogc @safe
void
prepPollAdd
(
ref SubmissionEntry entry
,
int fd
,
PollEvents events
)

Parameters

entry SubmissionEntry

SubmissionEntry to prepare

fd int

file descriptor to poll

events PollEvents

events to poll on the FD

Meta