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