mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 19:09:58 +08:00
ffddf61ea7
* libc/sys/linux/sethostname.c: New file. * libc/sys/linux/Makefile.am: Add sethostname.c support. * libc/sys/linux/Makefile.in: Regenerated.
9 lines
195 B
C
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);
|