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.

nothrow @nogc ref @safe
SubmissionEntry
prepPollAdd
(
return ref SubmissionEntry entry
,
int fd
,
PollEvents events
,
PollFlags flags = PollFlags.NONE
)

Parameters

entry SubmissionEntry

SubmissionEntry to prepare

fd int

file descriptor to poll

events PollEvents

events to poll on the FD

flags PollFlags

poll operation flags

Meta