sys_fs_fstat fixed

This commit is contained in:
Nekotekina 2015-04-19 20:57:04 +03:00
parent 3c872ab611
commit 73b00b844b
3 changed files with 104 additions and 25 deletions

View file

@ -3,7 +3,6 @@
struct FileInfo
{
std::string name;
std::string fullName;
bool exists;
bool isDirectory;
bool isWritable;
@ -68,6 +67,7 @@ public:
bool open(const std::string& filename, u32 mode = o_read);
bool is_opened() const;
bool trunc(u64 size) const;
bool stat(FileInfo& info) const;
bool close();
u64 read(void* buffer, u64 count) const;