| ... | @@ -733,46 +733,46 @@ pub const F = switch (native_os) { | ... | @@ -733,46 +733,46 @@ pub const F = switch (native_os) { |
| 733 | /// used in conjunction with F.NOCACHE to indicate that DIRECT, synchronous writes | 733 | /// used in conjunction with F.NOCACHE to indicate that DIRECT, synchronous writes |
| 734 | /// should not be used (i.e. its ok to temporarily create cached pages) | 734 | /// should not be used (i.e. its ok to temporarily create cached pages) |
| 735 | pub const NODIRECT = 62; | 735 | pub const NODIRECT = 62; |
| 736 | ///Get the protection class of a file from the EA, returns int | 736 | /// Get the protection class of a file from the EA, returns int |
| 737 | pub const GETPROTECTIONCLASS = 63; | 737 | pub const GETPROTECTIONCLASS = 63; |
| 738 | ///Set the protection class of a file for the EA, requires int | 738 | /// Set the protection class of a file for the EA, requires int |
| 739 | pub const SETPROTECTIONCLASS = 64; | 739 | pub const SETPROTECTIONCLASS = 64; |
| 740 | ///file offset to device offset, extended | 740 | /// file offset to device offset, extended |
| 741 | pub const LOG2PHYS_EXT = 65; | 741 | pub const LOG2PHYS_EXT = 65; |
| 742 | ///get record locking information, per-process | 742 | /// get record locking information, per-process |
| 743 | pub const GETLKPID = 66; | 743 | pub const GETLKPID = 66; |
| 744 | ///Mark the file as being the backing store for another filesystem | 744 | /// Mark the file as being the backing store for another filesystem |
| 745 | pub const SETBACKINGSTORE = 70; | 745 | pub const SETBACKINGSTORE = 70; |
| 746 | ///return the full path of the FD, but error in specific mtmd circumstances | 746 | /// return the full path of the FD, but error in specific mtmd circumstances |
| 747 | pub const GETPATH_MTMINFO = 71; | 747 | pub const GETPATH_MTMINFO = 71; |
| 748 | ///Returns the code directory, with associated hashes, to the caller | 748 | /// Returns the code directory, with associated hashes, to the caller |
| 749 | pub const GETCODEDIR = 72; | 749 | pub const GETCODEDIR = 72; |
| 750 | ///No SIGPIPE generated on EPIPE | 750 | /// No SIGPIPE generated on EPIPE |
| 751 | pub const SETNOSIGPIPE = 73; | 751 | pub const SETNOSIGPIPE = 73; |
| 752 | ///Status of SIGPIPE for this fd | 752 | /// Status of SIGPIPE for this fd |
| 753 | pub const GETNOSIGPIPE = 74; | 753 | pub const GETNOSIGPIPE = 74; |
| 754 | ///For some cases, we need to rewrap the key for AKS/MKB | 754 | /// For some cases, we need to rewrap the key for AKS/MKB |
| 755 | pub const TRANSCODEKEY = 75; | 755 | pub const TRANSCODEKEY = 75; |
| 756 | ///file being written to a by single writer... if throttling enabled, writes | 756 | /// file being written to a by single writer... if throttling enabled, writes |
| 757 | ///may be broken into smaller chunks with throttling in between | 757 | /// may be broken into smaller chunks with throttling in between |
| 758 | pub const SINGLE_WRITER = 76; | 758 | pub const SINGLE_WRITER = 76; |
| 759 | ///Get the protection version number for this filesystem | 759 | /// Get the protection version number for this filesystem |
| 760 | pub const GETPROTECTIONLEVEL = 77; | 760 | pub const GETPROTECTIONLEVEL = 77; |
| 761 | ///Add detached code signatures (used by dyld for shared libs) | 761 | /// Add detached code signatures (used by dyld for shared libs) |
| 762 | pub const FINDSIGS = 78; | 762 | pub const FINDSIGS = 78; |
| 763 | ///Add signature from same file, only if it is signed by Apple (used by dyld for simulator) | 763 | /// Add signature from same file, only if it is signed by Apple (used by dyld for simulator) |
| 764 | pub const ADDFILESIGS_FOR_DYLD_SIM = 83; | 764 | pub const ADDFILESIGS_FOR_DYLD_SIM = 83; |
| 765 | ///fsync + issue barrier to drive | 765 | /// fsync + issue barrier to drive |
| 766 | pub const BARRIERFSYNC = 85; | 766 | pub const BARRIERFSYNC = 85; |
| 767 | ///Add signature from same file, return end offset in structure on success | 767 | /// Add signature from same file, return end offset in structure on success |
| 768 | pub const ADDFILESIGS_RETURN = 97; | 768 | pub const ADDFILESIGS_RETURN = 97; |
| 769 | ///Check if Library Validation allows this Mach-O file to be mapped into the calling process | 769 | /// Check if Library Validation allows this Mach-O file to be mapped into the calling process |
| 770 | pub const CHECK_LV = 98; | 770 | pub const CHECK_LV = 98; |
| 771 | ///Deallocate a range of the file | 771 | /// Deallocate a range of the file |
| 772 | pub const PUNCHHOLE = 99; | 772 | pub const PUNCHHOLE = 99; |
| 773 | ///Trim an active file | 773 | /// Trim an active file |
| 774 | pub const TRIM_ACTIVE_FILE = 100; | 774 | pub const TRIM_ACTIVE_FILE = 100; |
| 775 | ///mark the dup with FD_CLOEXEC | 775 | /// mark the dup with FD_CLOEXEC |
| 776 | pub const DUPFD_CLOEXEC = 67; | 776 | pub const DUPFD_CLOEXEC = 67; |
| 777 | /// shared or read lock | 777 | /// shared or read lock |
| 778 | pub const RDLCK = 1; | 778 | pub const RDLCK = 1; |