Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [02-2004 Date Index] [Date Next] || [Thread Prev] [02-2004 Thread Index] [Thread Next]

[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






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.