Usermode/libc - Fix strchr and strrchr behavior
[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         ENTER("XNode->Inode XOffset xLength pBuffer xFlags",
19                 Node->Inode, Offset, Length, Buffer, Flags);    
20
21         size_t  ret =  NTFS_ReadAttribData(File->Data, Offset, Length, Buffer);
22         LEAVE('x', ret);
23         return ret;
24 }
25
26

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