summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/System.h
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2022-02-06 17:54:15 +0000
committerAndreas Kling <kling@serenityos.org>2022-02-14 11:44:09 +0100
commit37658e6fa6fbffa0b0a37ef23941095eaed4b37d (patch)
tree2e26314421519a353903c3570ccb8b016330ec72 /Userland/Libraries/LibCore/System.h
parent285b2fba96f1322f75169e0003a3045b907fab93 (diff)
downloadserenity-37658e6fa6fbffa0b0a37ef23941095eaed4b37d.zip
LibCore: Implement System::fchown
Diffstat (limited to 'Userland/Libraries/LibCore/System.h')
-rw-r--r--Userland/Libraries/LibCore/System.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h
index eb429eb1d3..9fa4c43eed 100644
--- a/Userland/Libraries/LibCore/System.h
+++ b/Userland/Libraries/LibCore/System.h
@@ -114,6 +114,7 @@ ErrorOr<void> chdir(StringView path);
ErrorOr<pid_t> fork();
ErrorOr<int> mkstemp(Span<char> pattern);
ErrorOr<void> fchmod(int fd, mode_t mode);
+ErrorOr<void> fchown(int fd, uid_t, gid_t);
ErrorOr<void> rename(StringView old_path, StringView new_path);
ErrorOr<void> unlink(StringView path);
ErrorOr<void> utime(StringView path, Optional<struct utimbuf>);