Description:
sethostname() function: Set machine's hostname.

Files:
lib/sethostname.c
m4/sethostname.m4
m4/gethostname.m4

Depends-on:
unistd-h
errno-h         [test $HAVE_SETHOSTNAME = 0 || test $REPLACE_SETHOSTNAME = 1]
fopen-gnu       [test $HAVE_SETHOSTNAME = 0 || test $REPLACE_SETHOSTNAME = 1]

configure.ac:
gl_FUNC_SETHOSTNAME
gl_CONDITIONAL([GL_COND_OBJ_SETHOSTNAME],
               [test $HAVE_SETHOSTNAME = 0 || test $REPLACE_SETHOSTNAME = 1])
gl_UNISTD_MODULE_INDICATOR([sethostname])

Makefile.am:
if GL_COND_OBJ_SETHOSTNAME
lib_SOURCES += sethostname.c
endif

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Ben Walton
