mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:37:44 +00:00
Kernel: Get rid of Unix namespace.
This is no longer needed as the Kernel can stand on its own legs now and there won't be any conflict with host system data types.
This commit is contained in:
parent
69a3aecf6b
commit
8bb18fdc56
21 changed files with 124 additions and 125 deletions
|
@ -23,10 +23,10 @@ public:
|
|||
|
||||
int close();
|
||||
|
||||
Unix::off_t seek(Unix::off_t, int whence);
|
||||
off_t seek(off_t, int whence);
|
||||
ssize_t read(Process&, byte*, size_t);
|
||||
ssize_t write(Process&, const byte* data, size_t);
|
||||
int stat(Unix::stat*);
|
||||
int fstat(stat*);
|
||||
|
||||
bool can_read(Process&);
|
||||
bool can_write(Process&);
|
||||
|
@ -77,7 +77,7 @@ private:
|
|||
RetainPtr<Inode> m_inode;
|
||||
RetainPtr<CharacterDevice> m_device;
|
||||
|
||||
Unix::off_t m_current_offset { 0 };
|
||||
off_t m_current_offset { 0 };
|
||||
|
||||
ByteBuffer m_generator_cache;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue