blob: f61e0cb4e5d38b2a74ecc3565602c8b2b939eadb (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#include <unistd.h>
#define SYSCALL_STANDALONE
#include "syscall.h"
int sethostname(const char *name, size_t len)
{
return syscall2(__NR_sethostname, (long)name, len);
}
|