aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/copy_file_range.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/copy_file_range.2')
-rw-r--r--lib/libc/sys/copy_file_range.210
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/sys/copy_file_range.2 b/lib/libc/sys/copy_file_range.2
index 2f42c78b57f5..a3f714f0e7e8 100644
--- a/lib/libc/sys/copy_file_range.2
+++ b/lib/libc/sys/copy_file_range.2
@@ -117,7 +117,6 @@ with
.Dv SEEK_DATA
arguments and this system call for the
data ranges found.
-.Pp
.Sh RETURN VALUES
If it succeeds, the call returns the number of bytes copied, which can be fewer
than
@@ -144,11 +143,9 @@ will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
If
-.Fa
-infd
+.Fa infd
is not open for reading or
-.Fa
-outfd
+.Fa outfd
is not open for writing, or opened for writing with
.Dv O_APPEND ,
or if
@@ -175,8 +172,7 @@ are reset to the initial values for the system call.
and
.Fa outfd
refer to the same file and the byte ranges overlap or
-.Fa
-flags
+.Fa flags
is not zero.
.It Bq Er EIO
An I/O error occurred while reading/writing the files.