mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibCore: Make LocalSocket takeover mechanism return ErrorOr<T>
This commit is contained in:
parent
c37a02341b
commit
c1a3968c66
9 changed files with 26 additions and 33 deletions
|
@ -15,7 +15,7 @@ class LocalSocket final : public Socket {
|
|||
public:
|
||||
virtual ~LocalSocket() override;
|
||||
|
||||
static RefPtr<LocalSocket> take_over_accepted_socket_from_system_server(String const& socket_path = String());
|
||||
static ErrorOr<NonnullRefPtr<LocalSocket>> take_over_accepted_socket_from_system_server(String const& socket_path = String());
|
||||
pid_t peer_pid() const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue