[openbeosnetteam] Re: Fix for resolving host names

  • From: "Brennan Cleveland" <warriorspot@xxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Mon, 2 Feb 2004 08:17:56 -0600


>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: