Go to the documentation of this file.
18 #ifndef __LIB_LIBFS_PSEUDOFILE_H
19 #define __LIB_LIBFS_PSEUDOFILE_H
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Read bytes from the file.
Represents a file present on a FileSystem.
virtual FileSystem::Result write(IOBuffer &buffer, Size &size, const Size offset)
Write bytes to the file.
Abstract Input/Output buffer.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
char * m_buffer
Buffer from which we read.
Pseudo files only exist in memory.
PseudoFile(const u32 inode)
Default constructor.
virtual ~PseudoFile()
Destructor.
Result
Result code for filesystem Actions.