Kernel: Port stat() to KResult/KResultOr<T>.

This commit is contained in:
Andreas Kling 2019-03-02 00:11:08 +01:00
commit 37f6844c6c
Notes: sideshowbarker 2024-07-19 15:34:18 +09:00
5 changed files with 31 additions and 40 deletions

View file

@ -32,7 +32,7 @@ public:
off_t seek(off_t, int whence);
ssize_t read(Process&, byte*, ssize_t);
ssize_t write(Process&, const byte* data, ssize_t);
int fstat(stat*);
KResult fstat(stat&);
KResult fchmod(mode_t);