1io_uring_submit_and_wait(3)     liburing Manual    io_uring_submit_and_wait(3)
2
3
4

NAME

6       io_uring_submit_and_wait  - submit requests to the submission queue and
7       wait for completion
8

SYNOPSIS

10       #include <liburing.h>
11
12       int io_uring_submit_and_wait(struct io_uring *ring,
13                                    unsigned wait_nr);
14

DESCRIPTION

16       The io_uring_submit_and_wait(3) function submits the next requests from
17       the  submission  queue belonging to the ring and waits for wait_nr com‐
18       pletion events.
19
20       After the caller retrieves a submission queue entry (SQE)  with  io_ur‐
21       ing_get_sqe(3)  and  prepares  the SQE, it can be submitted with io_ur‐
22       ing_submit_and_wait(3).
23
24

RETURN VALUE

26       On success io_uring_submit_and_wait(3) returns the number of  submitted
27       submission queue entries. On failure it returns -errno.
28

SEE ALSO

30       io_uring_get_sqe(3), io_uring_submit(3), io_uring_submit_and_wait_time‐
31       out(3)
32
33
34
35liburing-2.1                   November 15, 2021   io_uring_submit_and_wait(3)
Impressum