view modules/accept @ 17933:7dd80fb0f8e2 master

uniwbrk/u32-wordbreaks-tests: fix copyright * tests/uniwbrk/test-uc-wordbreaks.c: Fix copyright date.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 23 Feb 2015 15:52:58 -0800
parents b86e9061a6d0
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:
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