+#define F_GETPATH 50 /* return the full path of the fd */
+#define F_FULLFSYNC 51 /* fsync + ask the drive to flush to the media */
+#define F_PATHPKG_CHECK 52 /* find which component (if any) is a package */
+#define F_FREEZE_FS 53 /* "freeze" all fs operations */
+#define F_THAW_FS 54 /* "thaw" all fs operations */
+#define F_GLOBAL_NOCACHE 55 /* turn data caching off/on (globally) for this file */
+
+#ifdef PRIVATE
+#define F_OPENFROM 56 /* SPI: open a file relative to fd (must be a dir) */
+#define F_UNLINKFROM 57 /* SPI: open a file relative to fd (must be a dir) */
+#define F_CHECK_OPENEVT 58 /* SPI: if a process is marked OPENEVT, or in O_EVTONLY on opens of this vnode */
+#endif /* PRIVATE */
+
+#define F_ADDSIGS 59 /* add detached signatures */
+
+#ifdef PRIVATE
+/* Deprecated/Removed in 10.9 */
+#define F_MARKDEPENDENCY 60 /* this process hosts the device supporting the fs backing this fd */
+#endif
+
+#define F_ADDFILESIGS 61 /* add signature from same file (used by dyld for shared libs) */
+
+#define F_NODIRECT 62 /* used in conjunction with F_NOCACHE to indicate that DIRECT, synchonous writes */
+ /* should not be used (i.e. its ok to temporaily create cached pages) */
+
+#define F_GETPROTECTIONCLASS 63 /* Get the protection class of a file from the EA, returns int */
+#define F_SETPROTECTIONCLASS 64 /* Set the protection class of a file for the EA, requires int */
+
+#define F_LOG2PHYS_EXT 65 /* file offset to device offset, extended */
+
+#define F_GETLKPID 66 /* get record locking information, per-process */
+
+/* See F_DUPFD_CLOEXEC below for 67 */
+
+#ifdef PRIVATE
+#define F_SETSTATICCONTENT 68 /*
+ * indicate to the filesystem/storage driver that the content to be
+ * written is usually static. a nonzero value enables it, 0 disables it.
+ */
+#define F_MOVEDATAEXTENTS 69 /* Swap only the data associated with two files */
+#endif
+
+#define F_SETBACKINGSTORE 70 /* Mark the file as being the backing store for another filesystem */
+#define F_GETPATH_MTMINFO 71 /* return the full path of the FD, but error in specific mtmd circumstances */
+
+#define F_GETCODEDIR 72 /* Returns the code directory, with associated hashes, to the caller */
+
+#define F_SETNOSIGPIPE 73 /* No SIGPIPE generated on EPIPE */
+#define F_GETNOSIGPIPE 74 /* Status of SIGPIPE for this fd */
+
+#define F_TRANSCODEKEY 75 /* For some cases, we need to rewrap the key for AKS/MKB */
+
+#define F_SINGLE_WRITER 76 /* file being written to a by single writer... if throttling enabled, writes */
+ /* may be broken into smaller chunks with throttling in between */
+
+#define F_GETPROTECTIONLEVEL 77 /* Get the protection version number for this filesystem */
+
+#define F_FINDSIGS 78 /* Add detached code signatures (used by dyld for shared libs) */
+
+#ifdef PRIVATE
+#define F_GETDEFAULTPROTLEVEL 79 /* Get the default protection level for the filesystem */
+#define F_MAKECOMPRESSED 80 /* Make the file compressed; truncate & toggle BSD bits */
+#define F_SET_GREEDY_MODE 81 /*
+ * indicate to the filesystem/storage driver that the content to be
+ * written should be written in greedy mode for additional speed at
+ * the cost of storage efficiency. A nonzero value enables it, 0 disables it.
+ */
+
+#define F_SETIOTYPE 82 /*
+ * Use parameters to describe content being written to the FD. See
+ * flag definitions below for argument bits.
+ */
+#endif
+
+#define F_ADDFILESIGS_FOR_DYLD_SIM 83 /* Add signature from same file, only if it is signed by Apple (used by dyld for simulator) */
+
+#ifdef PRIVATE
+#define F_RECYCLE 84 /* Recycle vnode; debug/development builds only */
+#endif
+
+#define F_BARRIERFSYNC 85 /* fsync + issue barrier to drive */
+
+#ifdef PRIVATE
+#define F_OFD_SETLK 90 /* Acquire or release open file description lock */
+#define F_OFD_SETLKW 91 /* (as F_OFD_SETLK but blocking if conflicting lock) */
+#define F_OFD_GETLK 92 /* Examine OFD lock */
+
+#define F_OFD_SETLKWTIMEOUT 93 /* (as F_OFD_SETLKW but return if timeout) */
+#define F_OFD_GETLKPID 94 /* get record locking information */
+
+#define F_SETCONFINED 95 /* "confine" OFD to process */
+#define F_GETCONFINED 96 /* is-fd-confined? */
+#endif
+
+#define F_ADDFILESIGS_RETURN 97 /* Add signature from same file, return end offset in structure on success */
+#define F_CHECK_LV 98 /* Check if Library Validation allows this Mach-O file to be mapped into the calling process */
+
+#define F_PUNCHHOLE 99 /* Deallocate a range of the file */
+
+#define F_TRIM_ACTIVE_FILE 100 /* Trim an active file */
+
+// FS-specific fcntl()'s numbers begin at 0x00010000 and go up
+#define FCNTL_FS_SPECIFIC_BASE 0x00010000
+
+#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */
+
+#if __DARWIN_C_LEVEL >= 200809L
+#define F_DUPFD_CLOEXEC 67 /* mark the dup with FD_CLOEXEC */
+#endif