1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

copy_file_range: New function to copy file data

The semantics are based on the Linux system call, but a very close
emulation in user space is provided.
This commit is contained in:
Florian Weimer
2017-12-22 10:55:40 +01:00
parent 6cb86fd21c
commit bad7a0c81f
44 changed files with 1340 additions and 3 deletions

View File

@ -111,3 +111,7 @@
#if __LINUX_KERNEL_VERSION >= 0x040400
# define __ASSUME_MLOCK2 1
#endif
#if __LINUX_KERNEL_VERSION >= 0x040500
# define __ASSUME_COPY_FILE_RANGE 1
#endif