musl/src/linux/sethostname.c
2011-03-20 00:16:43 -04:00

8 lines
137 B
C

#include <unistd.h>
#include "syscall.h"
int sethostname(const char *name, size_t len)
{
return syscall(SYS_sethostname, name, len);
}