Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sethostname.c « linux « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 669df3d74f377cfa37e107269be0845f265f3912 (plain)
1
2
3
4
5
6
7
8
/* 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);