Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
linux
/
sethostname.c
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
);
}