diff options
| author | Albert van der Linde <alinde@google.com> | 2020-07-24 13:37:01 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-25 07:05:51 +0200 |
| commit | 1f7cc1ca26f786658b146bf760d9698390e9bbfb (patch) | |
| tree | 7244a41011970b183886db06d0d0e7e248b12f73 /sys/linux/sys.txt | |
| parent | 0a13649c058c68a7707b22beb08b0806ce3a1d42 (diff) | |
sys/linux: add description for copy_file_range
Diffstat (limited to 'sys/linux/sys.txt')
| -rw-r--r-- | sys/linux/sys.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
