h_errno

Alex Waugh alex at alexwaugh.com
Wed Aug 7 14:58:31 PDT 2002


Hi

In netlib/h_errno.c:

/* Please note that this should not be defined in any header files.  */

volatile int h_errno = 0;

What is the reasoning behind that comment?

netdb.h in Linux defines extern int h_errno; and I can see no reason why
we shouldn't do the same.

Cheers

Alex

-- 
Alex Waugh                               alex at alexwaugh.com

PHP, Roots, WebJames and more from http://www.alexwaugh.com/



More information about the gcc mailing list