1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

Import very modest Userland.

This commit is contained in:
Andreas Kling 2018-10-22 14:06:22 +02:00
parent 4cbf079a17
commit 63764b3a65
23 changed files with 81 additions and 27 deletions

View file

@ -14,7 +14,7 @@ public:
ByteBuffer readEntireFile();
#ifdef SERENITY_KERNEL
#ifdef SERENITY
int fd() const { return m_fd; }
void setFD(int fd) { m_fd = fd; }
#endif
@ -26,7 +26,7 @@ private:
Unix::off_t m_currentOffset { 0 };
#ifdef SERENITY_KERNEL
#ifdef SERENITY
int m_fd { -1 };
#endif
};