#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int sethostname(const char *name, size_t len)
{
return syscall(SYS_sethostname, name, len);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif
![]() |
index : grovel | |
| Unnamed repository; edit this file 'description' to name the repository. | External SSH Git service user |
| aboutsummaryrefslogtreecommitdiff |
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int sethostname(const char *name, size_t len)
{
return syscall(SYS_sethostname, name, len);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif