[uClibc]Re: errno confusion

Erik Andersen andersen at codepoet.org
Fri Aug 16 05:48:13 UTC 2002


On Fri Aug 16, 2002 at 02:29:20PM +0900, Miles Bader wrote:
> Miles Bader <miles at lsi.nec.co.jp> writes:
> > Hmmm, a quick look shows that although there's a declaration of
> > `__h_errno_location' in <netdb.h>, `h_errno' is never defined anywhere.
> 
> Oh, wait, there _is_ a #definition of `h_errno' ... I just forgot to scroll...
> 
> I'll just rationalize the definition as per errno, then.
> 
> But should this stuff be in <netdb.h>, or in <bits/netdb.h>?

I agree that bits/netdb.h might make more sense.  Glibc puts
that stuff in netdb.h though.  Since it doesn't make any
difference, lets just leave it there.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list