FreeNOS
|
Describes a single file opened by a user process. More...
#include <FileDescriptor.h>
Data Fields | |
u32 | inode |
ProcessID | pid |
< Inode number of the file More... | |
Size | position |
< Process identifier of the filesystem More... | |
bool | open |
< Current position indicator. More... | |
Describes a single file opened by a user process.
Definition at line 46 of file FileDescriptor.h.
u32 FileDescriptor::Entry::inode |
Definition at line 48 of file FileDescriptor.h.
Referenced by FileDescriptor::openEntry(), FileSystemClient::readFile(), NetworkClient::waitSocket(), FileSystemClient::writeFile(), and NetworkClient::writeSocketInfo().
bool FileDescriptor::Entry::open |
< Current position indicator.
Definition at line 51 of file FileDescriptor.h.
Referenced by FileDescriptor::closeEntry(), lseek(), FileDescriptor::openEntry(), FileStorage::read(), FileSystemClient::readFile(), NetworkClient::waitSocket(), FileStorage::write(), FileSystemClient::writeFile(), and NetworkClient::writeSocketInfo().
ProcessID FileDescriptor::Entry::pid |
< Inode number of the file
Definition at line 49 of file FileDescriptor.h.
Referenced by FileDescriptor::openEntry(), FileSystemClient::readFile(), FileSystemClient::writeFile(), and NetworkClient::writeSocketInfo().
Size FileDescriptor::Entry::position |
< Process identifier of the filesystem
Definition at line 50 of file FileDescriptor.h.
Referenced by lseek(), FileDescriptor::openEntry(), FileStorage::read(), FileSystemClient::readFile(), FileStorage::write(), and FileSystemClient::writeFile().