* io_uring system api definitions. * * See: https://github.com/torvalds/linux/blob/master/include/uapi/linux/io_uring.h * * Last changes from: f8e85cf255ad57d65eeb9a9d0e59e3dec55bdd9e (20191123)
Uses custom operation definition to fill fields of SubmissionEntry. Can be used in cases, when builtin prep* functions aren't enough.
Prepares accept4(2) operation.
Prepares operation that cancels existing async work.
Note: Available from Linux 5.5
Prepares fsync operation.
Prepares linked timeout operation.
Prepares nop operation.
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.
Remove an existing poll request. If found, the res field of the CompletionEntry will contain 0. If not found, res will contain -ENOENT.
Prepares read_fixed operation.
Prepares readv operation.
Prepares recvmsg(2) operation.
Prepares sendmsg(2) operation.
Prepares sync_file_range(2) operation.
This command will register a timeout operation.
Prepares operations to remove existing timeout registered using TIMEOUToperation.
Prepares write_fixed operation.
Prepares writev operation.
Template function to help set SubmissionEntry user_data field.
Setup new instance of io_uring into provided Uring structure.
Main entry point to work with io_uring.
Simple idiomatic dlang wrapper around linux io_uring (see: https://kernel.dk/io_uring.pdf) asynchronous API.