Re: 'errno' undefined?

From: Giles Lean <giles(at)nemeton(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 'errno' undefined?
Date: 2000-07-08 22:38:07
Message-ID: 1087.963095887@nemeton.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Where does errno get declared in your system's headers?

The ANSI C standard says errno is declared in <errno.h>. Since ANSI C
also says that the standard header files are independent, it is poor
form for your system to have included <errno.h> via <stdlib.h>.

(Yeah, since you've already added <errno.h> this is a bit pedantic.)

Ciao,

Giles

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-07-08 23:02:37 Re: SSL
Previous Message Alfred Perlstein 2000-07-08 21:41:23 Re: fcntl(SETLK) [was Re: 2nd update on TOAST]