stdlib: Add os.copy_file_range(src, dst, count)

This commit is contained in:
Martin Fischer
2022-02-28 06:13:34 +01:00
committed by Jelle Zijlstra
parent 0978ef5c60
commit 352f5c3237
5 changed files with 4 additions and 10 deletions

View File

@@ -25,14 +25,12 @@ os.EFD_SEMAPHORE
os.SPLICE_F_MORE
os.SPLICE_F_MOVE
os.SPLICE_F_NONBLOCK
os.copy_file_range
os.eventfd
os.eventfd_read
os.eventfd_write
os.splice
posix.EFD_[A-Z]+
posix.SPLICE_[A-Z_]+
posix.copy_file_range
posix.eventfd
posix.eventfd_read
posix.eventfd_write

View File

@@ -1,5 +1 @@
select.epoll.register
# Exists at runtime, but missing from stubs
os.copy_file_range
posix.copy_file_range

View File

@@ -1,6 +1,2 @@
(os|posix).sendfile
select.epoll.register
# Exists at runtime, but missing from stubs
os.copy_file_range
posix.copy_file_range