summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-07-02 18:05:26 -0600
committerJens Axboe <axboe@kernel.dk>2020-07-02 18:05:26 -0600
commitea91734dfae57c4222040cbdda9391ae0bda3862 (patch)
tree68d64d11ff2f6fc7abb5d134db9f819836f90f19
parent16757041cc9cb495867ec1f7db062f51399247b9 (diff)
parent6ecb6d4e7f71e496c2ca716e00c3a62df315e653 (diff)
downloadliburing-ea91734dfae57c4222040cbdda9391ae0bda3862.tar.gz
liburing-ea91734dfae57c4222040cbdda9391ae0bda3862.tar.bz2
Merge branch 'fix-splice-docs' of https://github.com/gerow/liburing
* 'fix-splice-docs' of https://github.com/gerow/liburing: man: fix description of splice offsets
-rw-r--r--man/io_uring_enter.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index e327671..054afbe 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -549,11 +549,13 @@ system call.
.I splice_fd_in
is the file descriptor to read from,
.I splice_off_in
-is a pointer to an offset to read from,
+is an offset to read from,
.I fd
is the file descriptor to write to,
.I off
-is a pointer to an offset to from which to start writing to.
+is an offset from which to start writing to. A sentinel value of -1 is used
+to pass the equivalent of a NULL for the offsets to
+.BR splice(2).
.I len
contains the number of bytes to copy.
.I splice_flags