File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -256,10 +256,10 @@ COPYFILE_STATE_SRC_FD
256
256
COPYFILE_STATE_SRC_FILENAME
257
257
COPYFILE_STATE_STATUS_CB
258
258
COPYFILE_STATE_STATUS_CTX
259
- COPYFILE_STATE_XATTRNAME
260
259
COPYFILE_STATE_WAS_CLONED
261
- COPYFILE_VERBOSE
260
+ COPYFILE_STATE_XATTRNAME
262
261
COPYFILE_UNLINK
262
+ COPYFILE_VERBOSE
263
263
COPYFILE_XATTR
264
264
CR0
265
265
CR1
@@ -441,6 +441,9 @@ F_LOG2PHYS
441
441
F_LOG2PHYS_EXT
442
442
F_NOCACHE
443
443
F_NODIRECT
444
+ F_OFD_GETLK
445
+ F_OFD_SETLK
446
+ F_OFD_SETLKW
444
447
F_PEOFPOSMODE
445
448
F_PREALLOCATE
446
449
F_PUNCHHOLE
@@ -2093,19 +2096,19 @@ posix_spawn_file_actions_t
2093
2096
posix_spawnattr_destroy
2094
2097
posix_spawnattr_get_qos_class_np
2095
2098
posix_spawnattr_getarchpref_np
2099
+ posix_spawnattr_getbinpref_np
2096
2100
posix_spawnattr_getflags
2097
2101
posix_spawnattr_getpgroup
2098
2102
posix_spawnattr_getsigdefault
2099
2103
posix_spawnattr_getsigmask
2100
2104
posix_spawnattr_init
2101
2105
posix_spawnattr_set_qos_class_np
2102
2106
posix_spawnattr_setarchpref_np
2107
+ posix_spawnattr_setbinpref_np
2103
2108
posix_spawnattr_setflags
2104
2109
posix_spawnattr_setpgroup
2105
2110
posix_spawnattr_setsigdefault
2106
2111
posix_spawnattr_setsigmask
2107
- posix_spawnattr_getbinpref_np
2108
- posix_spawnattr_setbinpref_np
2109
2112
posix_spawnattr_t
2110
2113
posix_spawnp
2111
2114
preadv
Original file line number Diff line number Diff line change @@ -3609,6 +3609,10 @@ pub const F_GLOBAL_NOCACHE: ::c_int = 55;
3609
3609
pub const F_NODIRECT : :: c_int = 62 ;
3610
3610
pub const F_LOG2PHYS_EXT : :: c_int = 65 ;
3611
3611
pub const F_BARRIERFSYNC : :: c_int = 85 ;
3612
+ // See https://github.com/apple/darwin-xnu/blob/main/bsd/sys/fcntl.h
3613
+ pub const F_OFD_SETLK : :: c_int = 90 ; /* Acquire or release open file description lock */
3614
+ pub const F_OFD_SETLKW : :: c_int = 91 ; /* (as F_OFD_SETLK but blocking if conflicting lock) */
3615
+ pub const F_OFD_GETLK : :: c_int = 92 ; /* Examine OFD lock */
3612
3616
pub const F_PUNCHHOLE : :: c_int = 99 ;
3613
3617
pub const F_TRIM_ACTIVE_FILE : :: c_int = 100 ;
3614
3618
pub const F_SPECULATIVE_READ : :: c_int = 101 ;
You can’t perform that action at this time.
0 commit comments