view modules/accept @ 40234:fab7ce42e03f

gnulib-tool: Clarify the coding style. Suggested by Pavel Raiskup <praiskup@redhat.com>. * gnulib-tool: Add comment about coding style.
author Bruno Haible <bruno@clisp.org>
date Wed, 13 Mar 2019 20:00:53 +0100
parents 949bded754e0
children
line wrap: on
line source

Description:
accept() function: accept a connection to a server socket.

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

Depends-on:
extensions
sys_socket
socketlib
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([accept])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([accept])

Makefile.am:

Include:
<sys/socket.h>

Link:
$(LIBSOCKET)

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson