view modules/getsockname @ 15332:c762e3063952

dtotimespec: new module * lib/timespec.h (dtotimespec): New decl. * lib/dtotimespec.c, modules/dtotimespec: New files.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 30 Jun 2011 15:14:25 -0700
parents efab6978105e
children f60ae63f5f6c
line wrap: on
line source

Description:
getsockname() function: return information about the local end of a connected
socket.

Files:
lib/getsockname.c
lib/w32sock.h

Depends-on:
sys_socket
errno           [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([getsockname])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])

Makefile.am:

Include:
<sys/socket.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson