bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: socklen_t


From: Simon Josefsson
Subject: Re: socklen_t
Date: Thu, 01 Sep 2005 19:02:28 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> A bit weird approach of checking for a compatible type, perhaps, but
>> if it works, then I'm all for it.  Bruno, what do you think?
>
> It's the standard way of determining a function's prototype. At first sight,
> it would be possible to use a single loop instead of a double loop by using
> the prototype
>    int getsockopt (int, int, int, void *, $t *);
> which has only 1 unknown parameter. But some systems like BeOS don't have
> getsockopt() at all. Therefore I'm in favour of Albert's macro.

Yup, me too.  Albert, are you willing to assign the copyright for that
code to the FSF, so it can be added to gnulib?

Thanks,
Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]