view modules/getpeername @ 14276:6b7046963230

di-set, ino-map: new modules, from coreutils * lib/di-set.c: New file. * lib/di-set.h: Likewise. * lib/ino-map.c: Likewise. * lib/ino-map.h: Likewise. * modules/di-set: Likewise. * modules/di-set-tests: Likewise. * modules/ino-map: Likewise. * modules/ino-map-tests: Likewise. * tests/test-di-set.c: Likewise. * tests/test-ino-map.c: Likewise.
author Jim Meyering <meyering@redhat.com>
date Mon, 07 Feb 2011 16:01:24 +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