view modules/accept @ 13415:a884db63982b

Avoid some more warnings from "gcc -Wwrite-strings".
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Jun 2010 21:17:11 +0200
parents 01f3623813da
children efab6978105e
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
errno

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>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson