1 // Compiler options: -unsafe
7 private delegate int FdCb (int fd);
8 private static Errno ProcessFile (string path, FdCb cb)
13 protected unsafe Errno OnReadHandle (string path, byte [] buf, long offset)
15 Errno e = ProcessFile (path, delegate (int fd) {
16 fixed (byte* pb = buf) {
28 public static void Main ()