aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-07-14 11:11:11 -0700
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-07-16 12:25:12 +0200
commite4fcb7bcc361b8d6a40f88503634f4a53ab8dc9e (patch)
treefb558063622f3b426277fe91a93e0b2338020062
parenta9562222f76ad3ed3c310403237fa3690914c582 (diff)
downloadman-pages-e4fcb7bcc361b8d6a40f88503634f4a53ab8dc9e.tar.gz
ioctl_ficlonerange.2: Mention a subtlety with length == 0
Passing length == 0 to clonerange actually makes it clone all the way to EOF. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
-rw-r--r--man2/ioctl_ficlonerange.23
1 files changed, 3 insertions, 0 deletions
diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2
index d1da3e6d39..c4715d042f 100644
--- a/man2/ioctl_ficlonerange.2
+++ b/man2/ioctl_ficlonerange.2
@@ -59,6 +59,9 @@ into the file
at offset
.IR dest_offset ",
provided that both are files.
+If
+.IR src_length
+is zero, the ioctl reflinks to the end of the source file.
This information is conveyed in a structure of
the following form:
.in +4n