source:
trunk/libs/newlib/src/newlib/libc/sys/linux/sethostname.c
Last change on this file was 444, checked in by , 6 years ago | |
---|---|
File size: 195 bytes |
Line | |
---|---|
1 | /* libc/sys/linux/sethostname.c - Set host name */ |
2 | |
3 | /* Copyright 2002, Red Hat Inc. */ |
4 | |
5 | #include <unistd.h> |
6 | #include <machine/syscall.h> |
7 | |
8 | _syscall2(int,sethostname,const char *,name,size_t,len); |
Note: See TracBrowser
for help on using the repository browser.