Modules/NTFS - Added _Read, working on _Close cleanup
[tpg/acess2.git] / KernelLand / Modules / Filesystems / NTFS / io.c
1 /*
2  * Acess2 - NTFS Driver
3  * - By John Hodge (thePowersGang)
4  * This file is published under the terms of the Acess licence. See the
5  * file COPYING for details.
6  *
7  * io.c
8  * - File Read/Write
9  */
10 #define DEBUG   1
11 #include "common.h"
12
13 // == CODE ===
14 size_t NTFS_ReadFile(tVFS_Node *Node, Uint64 Offset, size_t Length, void *Buffer, Uint Flags)
15 {
16         tNTFS_File      *File = (void*)Node;
17         
18         return NTFS_ReadAttribData(File->Data, Offset, Length, Buffer);
19 }
20
21

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