aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/copy_file_range.27
1 files changed, 5 insertions, 2 deletions
diff --git a/man2/copy_file_range.2 b/man2/copy_file_range.2
index be349d3564..31db404b45 100644
--- a/man2/copy_file_range.2
+++ b/man2/copy_file_range.2
@@ -137,9 +137,12 @@ is a sparse file, then
may expand any holes existing in the requested range.
Users may benefit from calling
.BR copy_file_range ()
-in a loop, and using
+in a loop, and using the
.BR lseek (2)
-to find the locations of data segments.
+.BR SEEK_DATA
+and
+.BR SEEK_HOLE
+operations to find the locations of data segments.
.SH EXAMPLE
.nf
#define _GNU_SOURCE