Uring.submit

Submits qued SubmissionEntry to be processed by kernel.

struct Uring
nothrow @nogc
submit
@trusted
(
uint want = 0
,
const sigset_t* sig = null
)

Parameters

want
Type: uint

number of CompletionEntries to wait for. If 0, this just submits queued entries and returns. If > 0, it blocks until at least wanted number of entries were completed.

sig
Type: sigset_t*

See io_uring_enter(2) man page

Return Value

Type: auto

Number of submitted entries on success, -errno on error

Meta