Uring.wait

Simmilar to submit but with this method we just wait for required number of CompletionEntries.

  1. int wait(uint want, S* args)
    struct Uring
    nothrow @nogc @trusted
    int
    wait
    (
    S
    )
    (
    uint want = 1
    ,
    const S* args = null
    )
    if (
    is(S == sigset_t) ||
    is(S == io_uring_getevents_arg)
    )
  2. int wait(uint want)

Return Value

Type: int

0 on success, -errno on error

Meta