getnameinfo/getaddrinfo nits

Roland McGrath roland@frob.com
Fri Mar 24 16:07:00 GMT 2000


> >	Don't use __libc_sa_len, which only exists for Linux.  Just handle
> >	AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
> >	only flavors supported by this function anyway.
> 
> Does the Hurd define SA_LEN?  If so, I think you could use that.

Please look at the code.  


More information about the Libc-hacker mailing list