From 1f7cc1ca26f786658b146bf760d9698390e9bbfb Mon Sep 17 00:00:00 2001 From: Albert van der Linde Date: Fri, 24 Jul 2020 13:37:01 +0000 Subject: sys/linux: add description for copy_file_range --- sys/linux/sys.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/linux/sys.txt') diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index d4a027fd9..5370e5508 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -96,8 +96,10 @@ writev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec]) pwritev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off_low int32, off_high int32) pwritev2(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off_low int32, off_high int32, flags flags[rwf_flags]) lseek(fd fd, offset fileoff, whence flags[seek_whence]) +copy_file_range(fd_in fd, off_in ptr[inout, fileoff[int64], opt], fd_out fd, off_out ptr[inout, fileoff[int64], opt], len intptr, flags flags[copy_file_range_flags]) rwf_flags = RWF_DSYNC, RWF_HIPRI, RWF_SYNC, RWF_NOWAIT, RWF_APPEND +copy_file_range_flags = 0 dup(oldfd fd) fd dup2(oldfd fd, newfd fd) fd -- cgit mrf-deployment