Retro68/gcc/newlib/libc/sys/linux/sethostname.c

9 lines
195 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* libc/sys/linux/sethostname.c - Set host name */
/* Copyright 2002, Red Hat Inc. */
#include <unistd.h>
#include <machine/syscall.h>
_syscall2(int,sethostname,const char *,name,size_t,len);