예제 #1
0
 public static bool TryCopy(IntPtr source, out Iovec destination)
 {
     return(ToIovec(source, out destination) == 0);
 }
예제 #2
0
 public static bool TryCopy(ref Iovec source, IntPtr destination)
 {
     return(FromIovec(ref source, destination) == 0);
 }
예제 #3
0
 private static extern int ToIovec(IntPtr source, out Iovec destination);
예제 #4
0
 private static extern int FromIovec(ref Iovec source, IntPtr destination);