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
void
prepPollAdd
@safe
(
ref SubmissionEntry entry
,
int fd
,
PollEvents events
)

Parameters

entry
Type: SubmissionEntry

SubmissionEntry to prepare

fd
Type: int

file descriptor to poll

events
Type: PollEvents

events to poll on the FD

Meta