Retro68/gcc/newlib/libc/sys/linux/sethostname.c
2012-03-27 01:51:53 +02:00

9 lines
195 B
C

/* 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);