Exemplo n.º 1
0
 internal unsafe int Write(Thread current, ref timeval r)
 {
     fixed(timeval *p = &r)
     {
         return(Write(current, new Pointer(p), sizeof(timeval)));
     }
 }
Exemplo n.º 2
0
        internal unsafe int Read(Thread current, out timeval val)
        {
            timeval v;
            var     r = Read(current, &v, sizeof(timeval));

            val = v;
            return(r);
        }
Exemplo n.º 3
0
 internal unsafe int Write(Thread current, ref timeval r)
 {
     fixed (timeval* p = &r)
     {
         return Write(current, new Pointer(p), sizeof(timeval));
     }
 }
Exemplo n.º 4
0
 internal unsafe int Read(Thread current, out timeval val)
 {
     timeval v;
     var r = Read(current, &v, sizeof(timeval));
     val = v;
     return r;
 }