mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-19 18:54:12 -04:00
Revert "man/io_uring_submit_and_wait_timeout.3: fix return value description"
This reverts commit c4c490c5db.
Let's make this saner rather than document the odd return of it.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -38,14 +38,10 @@ After the caller retrieves a submission queue entry (SQE) with
|
||||
and prepares the SQE, it can be submitted with
|
||||
.BR io_uring_submit_and_wait_timeout (3) .
|
||||
|
||||
Unlike the other submit functions, this does not return the number of submitted entries.
|
||||
The actual number submitted can be less than the total number of ready SQEs if there
|
||||
was an error submitting an SQE. It is not an error to submit less than the total number of SQEs.
|
||||
|
||||
.SH RETURN VALUE
|
||||
On success
|
||||
.BR io_uring_submit_and_wait_timeout (3)
|
||||
returns 0 and the cqe_ptr param is filled in. On failure it returns
|
||||
returns the number of submitted submission queue entries. On failure it returns
|
||||
.BR -errno .
|
||||
The most common failure case is not receiving a completion within the specified
|
||||
timeout,
|
||||
|
||||
Reference in New Issue
Block a user