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

LibCore: Add System::link()

This commit is contained in:
Tim Schumacher 2022-07-25 16:03:51 +02:00 committed by Linus Groh
parent bac4bdc5d2
commit c44b9acac3
2 changed files with 19 additions and 0 deletions

View file

@ -144,6 +144,7 @@ ErrorOr<void> setpgid(pid_t pid, pid_t pgid);
ErrorOr<pid_t> setsid();
ErrorOr<void> drop_privileges();
ErrorOr<bool> isatty(int fd);
ErrorOr<void> link(StringView old_path, StringView new_path);
ErrorOr<void> symlink(StringView target, StringView link_path);
ErrorOr<void> mkdir(StringView path, mode_t);
ErrorOr<void> chdir(StringView path);