Skip to content

Commit f6945f7

Browse files
authored
Merge pull request #3925 from devnexen/ftransferextents_macos
fcntl add F_TRANSFEREXTENTS for macos.
2 parents ae7c0ea + 2fcf54b commit f6945f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: libc-test/semver/apple.txt

+1
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ F_SPECULATIVE_READ
455455
F_TEST
456456
F_THAW_FS
457457
F_TLOCK
458+
F_TRANSFEREXTENTS
458459
F_TRIM_ACTIVE_FILE
459460
F_ULOCK
460461
F_UNLCK

Diff for: src/unix/bsd/apple/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3591,6 +3591,7 @@ pub const F_PUNCHHOLE: ::c_int = 99;
35913591
pub const F_TRIM_ACTIVE_FILE: ::c_int = 100;
35923592
pub const F_SPECULATIVE_READ: ::c_int = 101;
35933593
pub const F_GETPATH_NOFIRMLINK: ::c_int = 102;
3594+
pub const F_TRANSFEREXTENTS: ::c_int = 110;
35943595

35953596
pub const F_ALLOCATECONTIG: ::c_uint = 0x02;
35963597
pub const F_ALLOCATEALL: ::c_uint = 0x04;

0 commit comments

Comments
 (0)