Uring.submit

Submits qued SubmissionEntry to be processed by kernel.

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

Parameters

want 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 sigset_t*

See io_uring_enter(2) man page

Return Value

Type: int

Number of submitted entries on success, -errno on error

Meta