errno-h: document Haiku errors can’t be -1
[gnulib.git] / modules / getpeername
blob12b139d3dcd4f5f21f8953d5c6ec9576832d4483
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-h
12 socketlib
13 errno-h         [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])
21 gl_MODULE_INDICATOR([getpeername])
23 Makefile.am:
24 if GL_COND_OBJ_GETPEERNAME
25 lib_SOURCES += getpeername.c
26 endif
28 Include:
29 <sys/socket.h>
31 Link:
32 $(LIBSOCKET)
34 License:
35 LGPLv2+
37 Maintainer:
38 Paolo Bonzini, Simon Josefsson