mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Kernel: Use KResultOr and TRY() for FIFO
This commit is contained in:
parent
631b8e90cd
commit
ed5d04b0ea
6 changed files with 10 additions and 18 deletions
|
@ -94,7 +94,7 @@ public:
|
|||
void register_watcher(Badge<InodeWatcher>, InodeWatcher&);
|
||||
void unregister_watcher(Badge<InodeWatcher>, InodeWatcher&);
|
||||
|
||||
NonnullRefPtr<FIFO> fifo();
|
||||
KResultOr<NonnullRefPtr<FIFO>> fifo();
|
||||
|
||||
KResult can_apply_flock(OpenFileDescription const&, flock const&) const;
|
||||
KResult apply_flock(Process const&, OpenFileDescription const&, Userspace<flock const*>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue