cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Solaris 10 autobuild and recvfrom() sixth argument data type

From: Joe Nardone <jnardone_at_gmail.com>
Date: Mon, 21 Jul 2008 09:38:33 -0400

> The manpage on Solaris says:
>
> ssize_t recvfrom(int s, void *buf, size_t len, int flags,
> struct sockaddr *from, int *fromlen);

Note, at least on my box the man page was last updated on Nov 8 1999.

My header files on Solaris 8 list the last param as a Psocklen_t,
which is defined as either socklen_t* or void* depending on whether or
not you use XPG 4.2.

joe
Received on 2008-07-21