mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
Kernel+Userland: Add the rename() syscall along with a basic /bin/mv.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 14:47:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/37ae00a4dd2
@@ -75,6 +75,7 @@ public:
|
||||
KResult access(const String& path, int mode, Inode& base);
|
||||
KResult stat(const String& path, int options, Inode& base, struct stat&);
|
||||
KResult utime(const String& path, Inode& base, time_t atime, time_t mtime);
|
||||
KResult rename(const String& oldpath, const String& newpath, Inode& base);
|
||||
KResultOr<Retained<Inode>> open_directory(const String& path, Inode& base);
|
||||
|
||||
void register_device(Device&);
|
||||
|
||||
Reference in New Issue
Block a user