view modules/getsockopt @ 40171:fbfa1d6417d9

strtod, strtold tests: Simplify tests. * tests/test-strtod.c (main): Assume no rounding errors for 0.5. * tests/test-strtold.c (main): Likewise.
author Bruno Haible <bruno@clisp.org>
date Fri, 01 Feb 2019 02:51:20 +0100
parents 949bded754e0
children
line wrap: on
line source

Description:
getsockopt() function: retrieve optional settings on a socket.

Files:
lib/getsockopt.c
lib/w32sock.h

Depends-on:
extensions
sys_socket
socketlib
sys_time        [test "$ac_cv_header_winsock2_h" = yes]
errno           [test "$ac_cv_header_winsock2_h" = yes]
msvc-nothrow    [test "$ac_cv_header_winsock2_h" = yes]

configure.ac:
AC_REQUIRE([gl_HEADER_SYS_SOCKET])
if test "$ac_cv_header_winsock2_h" = yes; then
  AC_LIBOBJ([getsockopt])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])

Makefile.am:

Include:
<sys/socket.h>

Link:
$(LIBSOCKET)

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson