view modules/getpeername @ 10880:b1d6a7b9222f

Document functions that have been added to POSIX:2008.
author Bruno Haible <bruno@clisp.org>
date Sun, 14 Dec 2008 19:47:43 +0100
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