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

LibCore: Impliment ErrorOr wrapper for chdir

This commit is contained in:
mjz19910 2022-01-03 02:07:26 -07:00 committed by Brian Gianforcaro
parent 571d090609
commit eacbbca4c4
2 changed files with 16 additions and 0 deletions

View file

@ -93,6 +93,7 @@ ErrorOr<void> setpgid(pid_t pid, pid_t pgid);
ErrorOr<bool> isatty(int fd);
ErrorOr<void> symlink(StringView target, StringView link_path);
ErrorOr<void> mkdir(StringView path, mode_t);
ErrorOr<void> chdir(StringView path);
ErrorOr<pid_t> fork();
ErrorOr<int> mkstemp(Span<char> pattern);
ErrorOr<void> fchmod(int fd, mode_t mode);