Пример #1
0
 static extern int ioctl32(int fd, int request, ref Crypt crypt);
Пример #2
0
 static extern int ioctl64(int fd, ulong request, ref Crypt crypt);
Пример #3
0
 static extern int ioctl32(int fd, int request, ref Crypt crypt);
Пример #4
0
 static extern int ioctl64(int fd, ulong request, ref Crypt crypt);
Пример #5
0
 internal static int CryptOp(ref Crypt crypt)
 {
     if (IntPtr.Size == 4)
         return ioctl32 (fildes, (int) CIOCCRYPT, ref crypt);
     else
         return ioctl64 (fildes, CIOCCRYPT, ref crypt);
 }