view modules/getpeername @ 13922:120aa31e498d

* build-aux/gendocs.sh: restore x bit
author Eric Blake <eblake@redhat.com>
date Fri, 10 Dec 2010 09:40:08 -0700
parents 01f3623813da
children efab6978105e
line wrap: on
line source

Description:
getpeername() function: return information about the remote end of a connected
socket.

Files:
lib/getpeername.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([getpeername])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])

Makefile.am:

Include:
<sys/socket.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson