1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:17:44 +00:00

LibCore: Add syscall wrapper for gethostname()

This commit is contained in:
Kenneth Myhra 2021-11-27 10:13:33 +01:00 committed by Andreas Kling
parent 8c4625e3b1
commit 951d8a06d8
2 changed files with 11 additions and 0 deletions

View file

@ -32,5 +32,6 @@ ErrorOr<ssize_t> write(int fd, void const* data, size_t data_size);
ErrorOr<void> kill(pid_t, int signal);
ErrorOr<int> dup2(int source_fd, int destination_fd);
ErrorOr<String> ptsname(int fd);
ErrorOr<String> gethostname();
}