|
FreeNOS
|
Data Structures | |
| struct | FileStat |
| Contains file information. More... | |
| struct | WaitSet |
| Provides information about an inode. More... | |
Typedefs | |
| typedef u16 | FileModes |
| Multiple FileMode values combined. | |
Enumerations | |
| enum | Action { CreateFile = 0 , ReadFile , WriteFile , StatFile , DeleteFile , WaitFile , MountFileSystem , WaitFileSystem , GetFileSystems } |
| Actions which may be performed on a filesystem. More... | |
| enum | Result { Success = 0 , InvalidArgument , NotFound , RetryAgain , IOError , PermissionDenied , AlreadyExists , NotSupported , RedirectRequest , IpcError , TimedOut } |
| Result code for filesystem Actions. More... | |
| enum | FileType { RegularFile = 0 , DirectoryFile = 1 , BlockDeviceFile = 2 , CharacterDeviceFile = 3 , SymlinkFile = 4 , FIFOFile = 5 , SocketFile = 6 , UnknownFile = 7 } |
| All possible filetypes. More... | |
| enum | FileMode { OwnerR = 0400 , OwnerW = 0200 , OwnerX = 0100 , OwnerRW = 0600 , OwnerRX = 0500 , OwnerRWX = 0700 , GroupR = 0040 , GroupW = 0020 , GroupX = 0010 , GroupRW = 0060 , GroupRX = 0050 , GroupRWX = 0070 , OtherR = 0004 , OtherW = 0002 , OtherX = 0001 , OtherRW = 0006 , OtherRX = 0005 , OtherRWX = 0007 } |
| File access permissions. More... | |
| enum | WaitStatus { Readable = (1 << 0) , Writable = (1 << 1) } |
| WaitSet status flags. More... | |
| typedef u16 FileSystem::FileModes |
Multiple FileMode values combined.
Definition at line 108 of file FileSystem.h.
| enum FileSystem::Action |
Actions which may be performed on a filesystem.
| Enumerator | |
|---|---|
| CreateFile | |
| ReadFile | |
| WriteFile | |
| StatFile | |
| DeleteFile | |
| WaitFile | |
| MountFileSystem | |
| WaitFileSystem | |
| GetFileSystems | |
Definition at line 36 of file FileSystem.h.
| enum FileSystem::FileMode |
File access permissions.
| Enumerator | |
|---|---|
| OwnerR | |
| OwnerW | |
| OwnerX | |
| OwnerRW | |
| OwnerRX | |
| OwnerRWX | |
| GroupR | |
| GroupW | |
| GroupX | |
| GroupRW | |
| GroupRX | |
| GroupRWX | |
| OtherR | |
| OtherW | |
| OtherX | |
| OtherRW | |
| OtherRX | |
| OtherRWX | |
Definition at line 85 of file FileSystem.h.
| enum FileSystem::FileType |
All possible filetypes.
| Enumerator | |
|---|---|
| RegularFile | |
| DirectoryFile | |
| BlockDeviceFile | |
| CharacterDeviceFile | |
| SymlinkFile | |
| FIFOFile | |
| SocketFile | |
| UnknownFile | |
Definition at line 70 of file FileSystem.h.
| enum FileSystem::Result |
Result code for filesystem Actions.
| Enumerator | |
|---|---|
| Success | |
| InvalidArgument | |
| NotFound | |
| RetryAgain | |
| IOError | |
| PermissionDenied | |
| AlreadyExists | |
| NotSupported | |
| RedirectRequest | |
| IpcError | |
| TimedOut | |
Definition at line 52 of file FileSystem.h.
WaitSet status flags.
| Enumerator | |
|---|---|
| Readable | |
| Writable | < File can be read without blocking |
Definition at line 137 of file FileSystem.h.