private static int sys_readdir (IntPtr dir, out _Dirent dentry) { throw new System.NotImplementedException(); }
private static int sys_readdir_r (IntPtr dirp, out _Dirent entry, out IntPtr result) { throw new System.NotImplementedException(); }
private static extern int sys_readdir (IntPtr dir, out _Dirent dentry);
private static extern int sys_readdir_r (IntPtr dirp, out _Dirent entry, out IntPtr result);
private static void CopyDirent (Dirent to, ref _Dirent from) { try { to.d_ino = from.d_ino; to.d_off = from.d_off; to.d_reclen = from.d_reclen; to.d_type = from.d_type; to.d_name = UnixMarshal.PtrToString (from.d_name); } finally { Stdlib.free (from.d_name); from.d_name = IntPtr.Zero; } }
private static int sys_readdir_r(IntPtr dirp, out _Dirent entry, out IntPtr result) { throw new System.NotImplementedException(); }
private static int sys_readdir(IntPtr dir, out _Dirent dentry) { throw new System.NotImplementedException(); }