bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Re: socklen_t


From: Bruno Haible
Subject: Re: [bug-gnulib] Re: socklen_t
Date: Thu, 1 Sep 2005 18:40:26 +0200
User-agent: KMail/1.5

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.

Bruno





reply via email to

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