summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/System.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/System.h')
-rw-r--r--Userland/Libraries/LibCore/System.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h
index 7cf6027d53..1ade033c6a 100644
--- a/Userland/Libraries/LibCore/System.h
+++ b/Userland/Libraries/LibCore/System.h
@@ -9,6 +9,7 @@
#pragma once
#include <AK/Error.h>
+#include <AK/StringView.h>
#include <fcntl.h>
#include <grp.h>
#include <pwd.h>
@@ -72,6 +73,7 @@ ErrorOr<int> dup(int source_fd);
ErrorOr<int> dup2(int source_fd, int destination_fd);
ErrorOr<String> ptsname(int fd);
ErrorOr<String> gethostname();
+ErrorOr<void> sethostname(StringView);
ErrorOr<String> getcwd();
ErrorOr<void> ioctl(int fd, unsigned request, ...);
ErrorOr<struct termios> tcgetattr(int fd);