view modules/gethostname @ 13837:d7a891a411c1

strtod: work around icc bug With optimization, ICC 10.0 mis-compiles 'cond ? -val : val' such that a val of 0.0 doesn't result in -0.0. * lib/strtod.c (minus_zero): Define to working value. (strtod): Use it to avoid icc bug. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 05 Nov 2010 08:30:27 -0600
parents 4b822ff432cf
children efab6978105e
line wrap: on
line source

Description:
gethostname() function: Return machine's hostname.

Files:
lib/gethostname.c
m4/gethostname.m4
lib/w32sock.h

Depends-on:
unistd
sys_socket
errno
sockets

configure.ac:
gl_FUNC_GETHOSTNAME
gl_UNISTD_MODULE_INDICATOR([gethostname])

Makefile.am:

Include:
<unistd.h>

Link:
$(GETHOSTNAME_LIB)

License:
LGPLv2+

Maintainer:
all