[openbeosnetteam] Re: Fix for resolving host names


>I would say no.
>
>Where is h_errno implemented?
>
>It is defined as external to gethostnamadr.c and it is defined as 
>
>extern int h_errno;
>
>not 
>extern int * h_errno;

If this were true the malloc() call wouldn't compile.  h_errno is
actually #defined in netdb.h (i believe) as a pointer variable...

Brennan


Other related posts: