diff options
author | Mike Gerow <gerow@mgerow.com> | 2020-07-02 23:48:32 +0000 |
---|---|---|
committer | Mike Gerow <gerow@mgerow.com> | 2020-07-02 23:54:29 +0000 |
commit | 6ecb6d4e7f71e496c2ca716e00c3a62df315e653 (patch) | |
tree | 68d64d11ff2f6fc7abb5d134db9f819836f90f19 | |
parent | 16757041cc9cb495867ec1f7db062f51399247b9 (diff) | |
download | liburing-6ecb6d4e7f71e496c2ca716e00c3a62df315e653.tar.gz liburing-6ecb6d4e7f71e496c2ca716e00c3a62df315e653.tar.bz2 |
man: fix description of splice offsets
The interface to splice(2) in io_uring differs in that it doesn't accept a
pointer for the offset values, but instead a literal loff_t. It then uses a
sentinel value of -1 to pass the equivalent of a NULL. This fixes
io_uring_enter.2 to clarify this.
-rw-r--r-- | man/io_uring_enter.2 | 6 |
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 |