mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Kernel: Use KResult in link().
This commit is contained in:
parent
5b27f11b97
commit
60d0a48be5
10 changed files with 41 additions and 54 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
RetainPtr<FileDescriptor> open(const String& path, int& error, int options, mode_t mode, Inode& base);
|
||||
RetainPtr<FileDescriptor> create(const String& path, int& error, int options, mode_t mode, Inode& base);
|
||||
KResult mkdir(const String& path, mode_t mode, Inode& base);
|
||||
bool link(const String& old_path, const String& new_path, Inode& base, int& error);
|
||||
KResult link(const String& old_path, const String& new_path, Inode& base);
|
||||
KResult unlink(const String& path, Inode& base);
|
||||
KResult rmdir(const String& path, Inode& base);
|
||||
KResult chmod(const String& path, mode_t, Inode& base);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue