Ejemplo n.º 1
0
		private static extern int settimeofday (ref Timeval tv, IntPtr ignore);
Ejemplo n.º 2
0
		private static extern int gettimeofday (out Timeval tv, IntPtr ignore);
Ejemplo n.º 3
0
		public static extern int settimeofday (ref Timeval tv, ref Timezone tz);
Ejemplo n.º 4
0
		public static extern int gettimeofday (out Timeval tv, out Timezone tz);
Ejemplo n.º 5
0
 public static bool TryCopy(IntPtr source, out Timeval destination)
 {
     return(ToTimeval(source, out destination) == 0);
 }
Ejemplo n.º 6
0
 public static bool TryCopy(ref Timeval source, IntPtr destination)
 {
     return(FromTimeval(ref source, destination) == 0);
 }
Ejemplo n.º 7
0
 private static extern int ToTimeval(IntPtr source, out Timeval destination);
Ejemplo n.º 8
0
 private static extern int FromTimeval(ref Timeval source, IntPtr destination);