Modules/NTFS - Added _Read, working on _Close cleanup
[tpg/acess2.git] / KernelLand / Modules / Filesystems / NTFS / io.c
diff --git a/KernelLand/Modules/Filesystems/NTFS/io.c b/KernelLand/Modules/Filesystems/NTFS/io.c
new file mode 100644 (file)
index 0000000..d0f7088
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Acess2 - NTFS Driver
+ * - By John Hodge (thePowersGang)
+ * This file is published under the terms of the Acess licence. See the
+ * file COPYING for details.
+ *
+ * io.c
+ * - File Read/Write
+ */
+#define DEBUG  1
+#include "common.h"
+
+// == CODE ===
+size_t NTFS_ReadFile(tVFS_Node *Node, Uint64 Offset, size_t Length, void *Buffer, Uint Flags)
+{
+       tNTFS_File      *File = (void*)Node;
+       
+       return NTFS_ReadAttribData(File->Data, Offset, Length, Buffer);
+}
+
+

UCC git Repository :: git.ucc.asn.au