Next: getpgid
, Previous: getpayloadl
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
getpeername
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpeername.html
Gnulib module: getpeername
Portability problems fixed by Gnulib:
errno
, and WSAGetLastError
must be used
instead.
_HPUX_ALT_XOPEN_SOCKET_API
is not defined, this function behaves incorrectly because it is declared
to take a pointer to a 64-bit wide socklen_t
entity but in fact
considers it as a pointer to a 32-bit wide unsigned int
entity.
Portability problems not fixed by Gnulib:
socklen_t
type; in this case this function’s
third argument type is ‘int *’.