logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

io_uring_submit_and_get_events - submit requests to the submission queue and flush completions

Description

       The  io_uring_submit_and_get_events(3)  function  submits the next events to the submission queue as with
       io_uring_submit(3).  After submission it will flush CQEs as with io_uring_get_events(3).

       The benefit of this function is that it does both with only one system call.

Name

       io_uring_submit_and_get_events - submit requests to the submission queue and flush completions

Return Value

       On success io_uring_submit_and_get_events(3) returns the number of submitted submission queue entries. On
       failure it returns -errno.

See Also

io_uring_submit(3), io_uring_get_events(3)

liburing-2.3                                    September 5, 2022              io_uring_submit_and_get_events(3)

Synopsis

#include<liburing.h>intio_uring_submit_and_get_events(structio_uring*ring);

See Also