Use copy_file_range system call for copying on Linux systems
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Feb 16 21:33:37 UTC 2022
On Feb 16, 2022, at 12:10 PM, Alan Bateman <alan.bateman at oracle.com<mailto:alan.bateman at oracle.com>> wrote:
I suspect Ilya meant using syscall(2) with the NR. We had code in libnio that used approach for the *at functions before they were added to the glibc header files. It's a bit fragile as they are architecture specific.
Oh, I see. It looks like the only place that is still used is in UnixNativeDispatcher.c for fstatat() on Linux.
Brian
More information about the core-libs-dev
mailing list