public static bool TryCopy(IntPtr source, out Flock destination) { return(ToFlock(source, out destination) == 0); }
private static extern int ToFlock(IntPtr source, out Flock destination);
public static bool TryCopy(ref Flock source, IntPtr destination) { return(FromFlock(ref source, destination) == 0); }
private static extern int FromFlock(ref Flock source, IntPtr destination);
public static int fcntl(int fd, FcntlCommand cmd, ref Flock @lock) { throw new System.NotImplementedException(); }
public static extern int fcntl (int fd, FcntlCommand cmd, ref Flock @lock);