diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-01-22 14:36:16 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-01-22 14:36:16 -0700 |
commit | 3841c8404173294db7741e9f9084f9852e1bf343 (patch) | |
tree | fe4f09e6655a315d6fa50cfc2a94944d0bcf41be | |
parent | d5346b506717bfd65a5d09b987aff7c0f2e368fd (diff) | |
download | liburing-3841c8404173294db7741e9f9084f9852e1bf343.tar.gz |
man/io_uring_prep_read_multishot.3: clarify nbytes
It must be set to zero, or the request will cause an error.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | man/io_uring_prep_read_multishot.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man/io_uring_prep_read_multishot.3 b/man/io_uring_prep_read_multishot.3 index 13bd0a54..4adf31ce 100644 --- a/man/io_uring_prep_read_multishot.3 +++ b/man/io_uring_prep_read_multishot.3 @@ -24,12 +24,15 @@ helper prepares an IO read multishot request. The submission queue entry is setup to use the file descriptor .I fd to start reading -.I nbytes into a buffer from the provided buffer group with ID .I buf_group at the specified .IR offset . +.I nbytes +must be set to zero, as the size read will be given by the size of the +buffers in the indicated buffer group IO. + On files that are not capable of seeking, the offset must be 0 or -1. If |