Why is getaddrinfo in posix?
Roland McGrath
roland@frob.com
Fri Aug 31 16:36:00 GMT 2001
> On Fri, Aug 31, 2001 at 04:15:03PM -0700, Ulrich Drepper wrote:
> > "H . J . Lu" <hjl@lucon.org> writes:
> >
> > > Shouldn't getaddrinfo be in one of those directory for network?
> >
> > Why should it matter? This is a function invented for POSIX and so
> > found a fitting place in this subdir.
>
> I have no problem to add them in posix during the build. I'd like
> to add them to posix only when sysdeps/unix/inet is included during
> configure.
That seems like a good reason to use inet or resolv for all network-related
things.
More information about the Libc-alpha
mailing list