mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
CIODevice: Add is_open()
This commit is contained in:
parent
ce837d157f
commit
16de02cce0
Notes:
sideshowbarker
2024-07-19 12:18:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/16de02cce0a
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
|
||||
int fd() const { return m_fd; }
|
||||
unsigned mode() const { return m_mode; }
|
||||
bool is_open() const { return m_mode != NotOpen; }
|
||||
bool eof() const { return m_eof; }
|
||||
|
||||
int error() const { return m_error; }
|
||||
|
|
Loading…
Reference in a new issue