cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 21 Jul 2008 16:25:56 +0200

2008/7/21, Tor Arntsen wrote:

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

Yes that's the one available on all Sun docs I've been able to find,
and the reason for my head scratching.

Joe Nardone's post makes things clear for us. It is really possible
for the sixth argument to be prototyped as a void pointer.

And the good thing is that after posting the message that initiated
this thread I took the safest route and committed what was necessary
to take in account this possibility. And as today's Solaris autobuilds
show it is working nicely.

Thanks

-- 
-=[Yang]=-
Received on 2008-07-21