Skip to content

Commit 1333dcf

Browse files
authored
Merge pull request #3713 from SteveLauC/feat/F_ALLOCATEPERSIST_libc_0.2
feat: F_ALLOCATEPERSIST for apple
2 parents f6ec8c5 + efe4f72 commit 1333dcf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/apple.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ FSOPT_REPORT_FULLSIZE
428428
FSOPT_RETURN_REALDEV
429429
F_ALLOCATEALL
430430
F_ALLOCATECONTIG
431+
F_ALLOCATEPERSIST
431432
F_BARRIERFSYNC
432433
F_FREEZE_FS
433434
F_FULLFSYNC

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3609,6 +3609,7 @@ pub const F_GETPATH_NOFIRMLINK: ::c_int = 102;
36093609

36103610
pub const F_ALLOCATECONTIG: ::c_uint = 0x02;
36113611
pub const F_ALLOCATEALL: ::c_uint = 0x04;
3612+
pub const F_ALLOCATEPERSIST: ::c_uint = 0x08;
36123613

36133614
pub const F_PEOFPOSMODE: ::c_int = 3;
36143615
pub const F_VOLPOSMODE: ::c_int = 4;

0 commit comments

Comments
 (0)