* stdbit_h.m4: Fix first-line comment.
[gnulib.git] / modules / getpeername
blobc0d7c997a29d62c8d5e624db97d2f6d859399d76
1 Description:
2 getpeername() function: return information about the remote end of a connected
3 socket.
5 Files:
6 lib/getpeername.c
7 lib/w32sock.h
9 Depends-on:
10 extensions
11 sys_socket
12 socketlib
13 errno           [test "$ac_cv_header_winsock2_h" = yes]
14 msvc-nothrow    [test "$ac_cv_header_winsock2_h" = yes]
16 configure.ac:
17 AC_REQUIRE([gl_SYS_SOCKET_H])
18 gl_CONDITIONAL([GL_COND_OBJ_GETPEERNAME],
19                [test "$ac_cv_header_winsock2_h" = yes])
20 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
22 Makefile.am:
23 if GL_COND_OBJ_GETPEERNAME
24 lib_SOURCES += getpeername.c
25 endif
27 Include:
28 <sys/socket.h>
30 Link:
31 $(LIBSOCKET)
33 License:
34 LGPLv2+
36 Maintainer:
37 Paolo Bonzini, Simon Josefsson