blob: 9313b3245574720836f74a22ba052d7fc3e7b319 [file] [log] [blame]
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int sethostname(const char *name, size_t len)
{
return syscall(SYS_sethostname, name, len);
}