mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +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
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