[Mono.Posix] Add support for OSX F_NOCACHE
[mono.git] / mcs / class / Mono.Posix / Mono.Unix.Native / Syscall.cs
index 0b8f1e6fa028cea47e904a1fbb9ce1a061dbc9c7..0fdb0de11cf3abbaf72987e2f220345a142abec6 100644 (file)
@@ -223,6 +223,7 @@ namespace Mono.Unix.Native {
                F_GETOWN   =    9, // Get owner of socket (receiver of SIGIO).
                F_SETSIG   =   10, // Set number of signal to be sent.
                F_GETSIG   =   11, // Get number of signal to be sent.
+               F_NOCACHE  =   48, // OSX: turn data caching off/on for this fd.
                F_SETLEASE = 1024, // Set a lease.
                F_GETLEASE = 1025, // Enquire what lease is active.
                F_NOTIFY   = 1026, // Required notifications on a directory