This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Why is getaddrinfo in posix?
On Fri, Aug 31, 2001 at 07:36:43PM -0400, Roland McGrath wrote:
> > 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.
Yes. In fact, getaddrinfo is not the only one.
H.J.