projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
yet another ugly legacy syscall rename...
[oweals/musl.git]
/
src
/
linux
/
sethostname.c
1
#include <unistd.h>
2
#define SYSCALL_STANDALONE
3
#include "syscall.h"
4
5
int sethostname(const char *name, size_t len)
6
{
7
return syscall2(__NR_sethostname, (long)name, len);
8
}