public static Int32 FromPosixMadviseAdvice(PosixMadviseAdvice value) { Int32 rval; if (FromPosixMadviseAdvice(value, out rval) == -1) { ThrowArgumentException(value); } return(rval); }
public static bool TryToPosixMadviseAdvice (Int32 value, out PosixMadviseAdvice rval) { return ToPosixMadviseAdvice (value, out rval) == 0; }
private static extern int ToPosixMadviseAdvice (Int32 value, out PosixMadviseAdvice rval);
public static Int32 FromPosixMadviseAdvice (PosixMadviseAdvice value) { Int32 rval; if (FromPosixMadviseAdvice (value, out rval) == -1) ThrowArgumentException (value); return rval; }
public static bool TryFromPosixMadviseAdvice (PosixMadviseAdvice value, out Int32 rval) { return FromPosixMadviseAdvice (value, out rval) == 0; }
private static extern int FromPosixMadviseAdvice (PosixMadviseAdvice value, out Int32 rval);
public static bool TryToPosixMadviseAdvice(Int32 value, out PosixMadviseAdvice rval) { return(ToPosixMadviseAdvice(value, out rval) == 0); }
public static int posix_madvise(IntPtr addr, ulong len, PosixMadviseAdvice advice) { throw new System.NotImplementedException(); }
public static bool TryFromPosixMadviseAdvice(PosixMadviseAdvice value, out Int32 rval) { return(FromPosixMadviseAdvice(value, out rval) == 0); }
private static int ToPosixMadviseAdvice (Int32 value, out PosixMadviseAdvice rval) { throw new System.NotImplementedException(); }
private static extern int FromPosixMadviseAdvice(PosixMadviseAdvice value, out Int32 rval);
private static int FromPosixMadviseAdvice (PosixMadviseAdvice value, out Int32 rval) { throw new System.NotImplementedException(); }
public static int posix_madvise (IntPtr addr, ulong len, PosixMadviseAdvice advice) { throw new System.NotImplementedException(); }
public static extern int posix_madvise (IntPtr addr, ulong len, PosixMadviseAdvice advice);
private static int FromPosixMadviseAdvice(PosixMadviseAdvice value, out Int32 rval) { throw new System.NotImplementedException(); }
private static extern int ToPosixMadviseAdvice(Int32 value, out PosixMadviseAdvice rval);
private static int ToPosixMadviseAdvice(Int32 value, out PosixMadviseAdvice rval) { throw new System.NotImplementedException(); }