PyDocs

Nav

Generic Operating System Services

copy_file_range

os

function · Added in 3.8Linux >= 4.5 with glibc >= 2.27
  • copy_file_range(src, dst, count, offset_src=None, offset_dst=None)
Copy count bytes from one file descriptor to another.

  src
    Source file descriptor.
  dst
    Destination file descriptor.
  count
    Number of bytes to copy.
  offset_src
    Starting offset in src.
  offset_dst
    Starting offset in dst.

If offset_src is None, then src is read from the current position;
respectively for offset_dst.
0 Examples
No examples for os/copy_file_range.
See Also
No see-alsos for os/copy_file_range
0 Notes
No notes for copy_file_range