File tree 3 files changed +11
-4
lines changed
3 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
@@ -1976,19 +1979,19 @@ posix_spawn_file_actions_t
1976
1979
posix_spawnattr_destroy
1977
1980
posix_spawnattr_get_qos_class_np
1978
1981
posix_spawnattr_getarchpref_np
1982
+ posix_spawnattr_getbinpref_np
1979
1983
posix_spawnattr_getflags
1980
1984
posix_spawnattr_getpgroup
1981
1985
posix_spawnattr_getsigdefault
1982
1986
posix_spawnattr_getsigmask
1983
1987
posix_spawnattr_init
1984
1988
posix_spawnattr_set_qos_class_np
1985
1989
posix_spawnattr_setarchpref_np
1990
+ posix_spawnattr_setbinpref_np
1986
1991
posix_spawnattr_setflags
1987
1992
posix_spawnattr_setpgroup
1988
1993
posix_spawnattr_setsigdefault
1989
1994
posix_spawnattr_setsigmask
1990
- posix_spawnattr_getbinpref_np
1991
- posix_spawnattr_setbinpref_np
1992
1995
posix_spawnattr_t
1993
1996
posix_spawnp
1994
1997
preadv
Original file line number Diff line number Diff line change @@ -3592,6 +3592,10 @@ pub const F_GLOBAL_NOCACHE: ::c_int = 55;
3592
3592
pub const F_NODIRECT : :: c_int = 62 ;
3593
3593
pub const F_LOG2PHYS_EXT : :: c_int = 65 ;
3594
3594
pub const F_BARRIERFSYNC : :: c_int = 85 ;
3595
+ // See https://github.com/apple/darwin-xnu/blob/main/bsd/sys/fcntl.h
3596
+ pub const F_OFD_SETLK : :: c_int = 90 ; /* Acquire or release open file description lock */
3597
+ pub const F_OFD_SETLKW : :: c_int = 91 ; /* (as F_OFD_SETLK but blocking if conflicting lock) */
3598
+ pub const F_OFD_GETLK : :: c_int = 92 ; /* Examine OFD lock */
3595
3599
pub const F_PUNCHHOLE : :: c_int = 99 ;
3596
3600
pub const F_TRIM_ACTIVE_FILE : :: c_int = 100 ;
3597
3601
pub const F_SPECULATIVE_READ : :: c_int = 101 ;
You can’t perform that action at this time.
0 commit comments