1io_uring_submit_and_get_events(3)liburing Manuailo_uring_submit_and_get_events(3)
2
3
4

NAME

6       io_uring_submit_and_get_events  -  submit  requests  to  the submission
7       queue and flush completions
8

SYNOPSIS

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

DESCRIPTION

16       The io_uring_submit_and_get_events(3) function submits the next  events
17       to  the  submission queue as with io_uring_submit(3).  After submission
18       it will flush CQEs as with io_uring_get_events(3).
19
20       The benefit of this function is that it does both with only one  system
21       call.
22
23

RETURN VALUE

25       On success io_uring_submit_and_get_events(3) returns the number of sub‐
26       mitted submission queue entries. On failure it returns -errno.
27

SEE ALSO

29       io_uring_submit(3), io_uring_get_events(3)
30
31
32
33liburing-2.3                   September 5, 20i2o2_uring_submit_and_get_events(3)
Impressum