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
--rename-member=st_mtime=st_mtime_ \
--rename-namespace=Mono.Unix.Native=Mono.Posix \
--library=MonoPosixHelper \
- $(mcs_topdir)/class/lib/net_2_0/Mono.Posix.dll map
+ $(mcs_topdir)/class/lib/net_4_5/Mono.Posix.dll map
# Useful if mono is compiled with --enable-shared=no
patch-libtool:
/*
- * This file was automatically generated by create-native-map from ../../mcs/class/lib/net_2_0/Mono.Posix.dll.
+ * This file was automatically generated by create-native-map from /cvs/mono/mcs/class/lib/net_4_5/Mono.Posix.dll.
*
* DO NOT MODIFY.
*/
#else /* def F_GETSIG */
{errno = EINVAL; return -1;}
#endif /* ndef F_GETSIG */
+ if (x == Mono_Posix_FcntlCommand_F_NOCACHE)
+#ifdef F_NOCACHE
+ {*r = F_NOCACHE; return 0;}
+#else /* def F_NOCACHE */
+ {errno = EINVAL; return -1;}
+#endif /* ndef F_NOCACHE */
if (x == Mono_Posix_FcntlCommand_F_NOTIFY)
#ifdef F_NOTIFY
{*r = F_NOTIFY; return 0;}
if (x == F_GETSIG)
{*r = Mono_Posix_FcntlCommand_F_GETSIG; return 0;}
#endif /* ndef F_GETSIG */
+#ifdef F_NOCACHE
+ if (x == F_NOCACHE)
+ {*r = Mono_Posix_FcntlCommand_F_NOCACHE; return 0;}
+#endif /* ndef F_NOCACHE */
#ifdef F_NOTIFY
if (x == F_NOTIFY)
{*r = Mono_Posix_FcntlCommand_F_NOTIFY; return 0;}
#define Mono_Posix_FcntlCommand_F_GETOWN Mono_Posix_FcntlCommand_F_GETOWN
Mono_Posix_FcntlCommand_F_GETSIG = 0x0000000b,
#define Mono_Posix_FcntlCommand_F_GETSIG Mono_Posix_FcntlCommand_F_GETSIG
+ Mono_Posix_FcntlCommand_F_NOCACHE = 0x00000030,
+ #define Mono_Posix_FcntlCommand_F_NOCACHE Mono_Posix_FcntlCommand_F_NOCACHE
Mono_Posix_FcntlCommand_F_NOTIFY = 0x00000402,
#define Mono_Posix_FcntlCommand_F_NOTIFY Mono_Posix_FcntlCommand_F_NOTIFY
Mono_Posix_FcntlCommand_F_SETFD = 0x00000002,