9.15 sethostname

int sethostname(const char *buffer, size_t length);

This syscall sets the kernel hostname to the passed string. 0 is returned on success and -1 on failure, with the following errno: