mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:38:10 +00:00
CIODevice: Add is_open()
This commit is contained in:
parent
ce837d157f
commit
16de02cce0
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…
Add table
Add a link
Reference in a new issue