1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/doc/posix-functions/recvfrom.texi
Bruno Haible 01a47ae418 sys_socket: Use POSIX compatible declarations on OSF/1 5.1.
* m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): On OSF/1, define
_POSIX_PII_SOCKET.
* doc/posix-functions/recv.texi: Document the OSF/1 problem.
* doc/posix-functions/recvfrom.texi: Likewise.
* doc/posix-functions/send.texi: Likewise.
* doc/posix-functions/sendto.texi: Likewise.
2010-12-20 01:41:57 +01:00

27 lines
699 B
Plaintext

@node recvfrom
@section @code{recvfrom}
@findex recvfrom
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/recvfrom.html}
Gnulib module: recvfrom
Portability problems fixed by Gnulib:
@itemize
@item
This function has the return type @code{int} instead of @code{ssize_t}
on some platforms:
OSF/1 5.1.
@item
On Windows platforms (excluding Cygwin), error codes for
@code{recvfrom} are not placed in @code{errno}, and
@code{WSAGetLastError} must be used instead.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
Some platforms don't have a @code{socklen_t} type; in this case this function's
sixth argument type is @samp{int *}.
@end itemize