mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Kernel: Move FileDescription::get_dir_entries to KResultOr<ssize_t>
This normalizes the error handling with the rest of the subsystem.
This commit is contained in:
parent
12ab0dcee0
commit
a643ee5759
2 changed files with 8 additions and 8 deletions
|
@ -56,7 +56,7 @@ public:
|
|||
bool can_read() const;
|
||||
bool can_write() const;
|
||||
|
||||
ssize_t get_dir_entries(UserOrKernelBuffer& buffer, ssize_t);
|
||||
KResultOr<ssize_t> get_dir_entries(UserOrKernelBuffer& buffer, ssize_t);
|
||||
|
||||
KResultOr<NonnullOwnPtr<KBuffer>> read_entire_file();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue