mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-19 18:54:12 -04:00
Merge branch 'master' of https://github.com/ilikdoge/liburing
* 'master' of https://github.com/ilikdoge/liburing: man/io_uring_submit_and_wait_timeout.3: fix return value description
This commit is contained in:
@@ -38,10 +38,14 @@ 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 the number of submitted submission queue entries. On failure it returns
|
||||
returns 0 and the cqe_ptr param is filled in. 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