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



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib
  • Re: [bug-gnulib] Re: socklen_t Bruno Haible

Reply via email to