Esempio n. 1
0
 private static int ToPollfd(IntPtr source, out Pollfd destination)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 2
0
 private static int FromPollfd(ref Pollfd source, IntPtr destination)
 {
     throw new System.NotImplementedException();
 }
 public static bool TryCopy(IntPtr source, out Pollfd destination)
 {
     return(ToPollfd(source, out destination) == 0);
 }
 private static extern int ToPollfd(IntPtr source, out Pollfd destination);
 public static bool TryCopy(ref Pollfd source, IntPtr destination)
 {
     return(FromPollfd(ref source, destination) == 0);
 }
 private static extern int FromPollfd(ref Pollfd source, IntPtr destination);