mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibCore: Add fd() and notifier() accessors to Core::Stream::LocalSocket
This commit is contained in:
parent
35966cabe4
commit
eb709ddd63
2 changed files with 10 additions and 0 deletions
|
@ -468,6 +468,9 @@ public:
|
|||
/// already closed.
|
||||
ErrorOr<int> release_fd();
|
||||
|
||||
Optional<int> fd() const;
|
||||
RefPtr<Core::Notifier> notifier() { return m_helper.notifier(); }
|
||||
|
||||
virtual ~LocalSocket() { close(); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue