mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Kernel: Added the ability to set the hostname via new syscall
Userland/hostname: Now takes parameter to set the hostname LibC/unistd: Added sethostname function
This commit is contained in:
parent
03f68a51af
commit
f191b84b50
Notes:
sideshowbarker
2024-07-19 07:17:18 +09:00
Author: https://github.com/lukepayne 🔰
Commit: f191b84b50
Pull-request: https://github.com/SerenityOS/serenity/pull/1963
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
7 changed files with 40 additions and 9 deletions
|
@ -104,6 +104,7 @@ int stat(const char* path, struct stat* statbuf);
|
|||
int sleep(unsigned seconds);
|
||||
int usleep(useconds_t);
|
||||
int gethostname(char*, size_t);
|
||||
int sethostname(const char*, ssize_t);
|
||||
ssize_t readlink(const char* path, char* buffer, size_t);
|
||||
char* ttyname(int fd);
|
||||
int ttyname_r(int fd, char* buffer, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue