1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibCore: Add syscall wrapper for rename()

This commit is contained in:
Andreas Kling 2021-12-16 21:40:42 +01:00
parent fb4ffe22c8
commit ead9c36c92
2 changed files with 22 additions and 0 deletions

View file

@ -67,5 +67,6 @@ ErrorOr<void> mkdir(StringView path, mode_t);
ErrorOr<pid_t> fork();
ErrorOr<int> mkstemp(Span<char> pattern);
ErrorOr<void> fchmod(int fd, mode_t mode);
ErrorOr<void> rename(StringView old_path, StringView new_path);
}